Skip to content

Commit

Permalink
fix: debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgao001 committed Aug 6, 2024
1 parent 862f189 commit 01f5f8c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions syncer/syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,17 @@ func (s *BlobSyncer) StartLoop() {
syncTicker := time.NewTicker(LoopSleepTime)
for range syncTicker.C {
if err = s.sync(); err != nil {
panic(err)
logging.Logger.Error(err)
continue
}
}
}()
go func() {
verifyTicket := time.NewTicker(LoopSleepTime)
for range verifyTicket.C {
if err := s.verify(); err != nil {
panic(err)
logging.Logger.Error(err)
continue
}
}
}()
Expand Down

0 comments on commit 01f5f8c

Please sign in to comment.