Tibber Pulse: extend retry delay to 5s (#18646)

This commit is contained in:
Michael Heß 2025-02-07 13:54:34 +01:00 • committed by GitHub
parent c616d9942f
commit 229b7f19f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,6 +87,7 @@ func NewTibberFromConfig(ctx context.Context, other map[string]interface{}) (api
"token": cc.Token,
}).
WithRetryTimeout(0).
WithRetryDelay(5 * time.Second).
WithTimeout(request.Timeout).
WithLog(log.TRACE.Println).
OnError(func(_ *graphql.SubscriptionClient, err error) error {