From 293628431801397efd706651efb2706babed5327 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Mon, 31 Oct 2022 15:29:57 +0100 Subject: [PATCH] [core] Fix: Allow 5s for rule updates as 2s seems to be a little short for Github raw storage Signed-off-by: Knut Ahlers --- plugins/rule.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/rule.go b/plugins/rule.go index 9e01518..477e40c 100644 --- a/plugins/rule.go +++ b/plugins/rule.go @@ -21,7 +21,7 @@ import ( "github.com/Luzifer/twitch-bot/v2/pkg/twitch" ) -const remoteRuleFetchTimeout = 2 * time.Second +const remoteRuleFetchTimeout = 5 * time.Second type ( Rule struct {