Commit 0aedf803 authored by ci's avatar ci
Browse files

limit throttling to only queued channels

parent c193dae9
......@@ -154,7 +154,9 @@ func (s *SyncManager) Start() error {
}
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()
if q == StatusQueued {
s.syncProperties.SyncUntil = time.Now().AddDate(0, 0, -1).Unix()
}
channels, err := s.apiConfig.FetchChannels(q, s.syncProperties)
if err != nil {
return err
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment