From f5d2fe5e81ea347ee744c1b3c6c9d39fa55552a8 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Sun, 17 Oct 2021 10:18:13 -0400 Subject: [PATCH] check for stuck accounts every 2 minutes --- internal/cmd/scheduler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/scheduler.go b/internal/cmd/scheduler.go index ecd9add..8005dce 100644 --- a/internal/cmd/scheduler.go +++ b/internal/cmd/scheduler.go @@ -26,7 +26,7 @@ const ( accountEnqueueInterval = 5 // how frequently we want to check (seconds) subredditEnqueueInterval = 2 * 60 // how frequently we want to check (seconds) userEnqueueInterval = 2 * 60 // how frequently we want to check (seconds) - stuckAccountEnqueueInterval = 1 * 60 // how frequently we want to check (seconds) + stuckAccountEnqueueInterval = 2 * 60 // how frequently we want to check (seconds) staleAccountThreshold = 7200 // 2 hours )