temporary throttling of channels to sync for tom to review them

This commit is contained in:
Niko Storni 2019-07-22 16:16:23 -04:00
parent 0c47510785
commit c193dae95a

View file

@ -153,6 +153,8 @@ func (s *SyncManager) Start() error {
queuesToSync = append(queuesToSync, StatusSyncing, StatusQueued) queuesToSync = append(queuesToSync, StatusSyncing, StatusQueued)
} }
for _, q := range queuesToSync { 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) channels, err := s.apiConfig.FetchChannels(q, s.syncProperties)
if err != nil { if err != nil {
return err return err