From 140858b16acf773aa3d3265bde0d80bfd0425a64 Mon Sep 17 00:00:00 2001 From: andig Date: Fri, 13 Dec 2024 08:56:51 +0100 Subject: [PATCH] Tibber Pulse: wait longer for server response --- meter/tibber-pulse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meter/tibber-pulse.go b/meter/tibber-pulse.go index 22fc601426..bf6abe02cb 100644 --- a/meter/tibber-pulse.go +++ b/meter/tibber-pulse.go @@ -88,7 +88,7 @@ func NewTibberFromConfig(ctx context.Context, other map[string]interface{}) (api "token": cc.Token, }). WithRetryTimeout(0). - WithTimeout(time.Second). + WithTimeout(request.Timeout). WithLog(log.TRACE.Println). OnError(func(_ *graphql.SubscriptionClient, err error) error { // exit the subscription client due to unauthorized error