From c193dae95a4e669f9305fe784f64d9782bd2ba5d Mon Sep 17 00:00:00 2001 From: Niko Storni Date: Mon, 22 Jul 2019 16:16:23 -0400 Subject: [PATCH] temporary throttling of channels to sync for tom to review them --- manager/manager.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manager/manager.go b/manager/manager.go index 6a74bc7..45bfc31 100644 --- a/manager/manager.go +++ b/manager/manager.go @@ -153,6 +153,8 @@ func (s *SyncManager) Start() error { queuesToSync = append(queuesToSync, StatusSyncing, StatusQueued) } for _, q := range queuesToSync { + //temporary override for sync-until to give tom the time to review the channels + s.syncProperties.SyncUntil = time.Now().AddDate(0, 0, -1).Unix() channels, err := s.apiConfig.FetchChannels(q, s.syncProperties) if err != nil { return err