limit throttling to only queued channels
This commit is contained in:
parent
c193dae95a
commit
0aedf80386
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue