Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Speed up event processing #8

Merged
merged 12 commits into from
Apr 24, 2020
Prev Previous commit
Next Next commit
Change initial sync to Success level
  • Loading branch information
ammario committed Apr 24, 2020
commit 4905bbd516ded7435c5732e76843dad9240a85fe
2 changes: 1 addition & 1 deletion internal/sync/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (s Sync) initSync() error {
// Delete old files on initial sync (e.g git checkout).
err := s.syncPaths(true, s.LocalDir+"/.", s.RemoteDir)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't hurt to comment on why this is necessary

if err == nil {
flog.Info("finished initial sync (%v)", time.Since(start).Truncate(time.Millisecond))
flog.Success("finished initial sync (%v)", time.Since(start).Truncate(time.Millisecond))
}
return err
}
Expand Down