diff options
| -rw-r--r-- | cmd_linux.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd_linux.go b/cmd_linux.go index d937000..5d5e10a 100644 --- a/cmd_linux.go +++ b/cmd_linux.go @@ -125,6 +125,7 @@ func handleClient(conn net.Conn, stack *GitignoreStack) { syncFromManifest(remoteManifest, stack) logInfo("sync: done") logInfo("watcher: monitoring for changes ...") + conn.SetReadDeadline(time.Time{}) // no timeout during event monitoring case "event_create": logDebug("event: create %s", msg.Path) |
