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
Document test command
  • Loading branch information
ammario committed Apr 24, 2020
commit ed23f647d4da465dbb1311672a6e65680c3aa866
3 changes: 3 additions & 0 deletions internal/sync/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ const (
maxAcceptableDispatch = time.Millisecond * 50
)

// Run starts the sync synchronously.
// Use this command to debug what wasn't sync'd correctly:
// rsync -e "coder sh" -nicr ~/Projects/cdr/coder-cli/. ammar:/home/coder/coder-cli/
func (s Sync) Run() error {
setConsoleTitle("⏳ syncing project")
err := s.initSync()
Expand Down