From 52ac49a1ebd712198b66c7662b8542376c156194 Mon Sep 17 00:00:00 2001 From: Bernhard Guillon Date: Tue, 7 Jul 2026 13:07:44 +0200 Subject: Disable read timeout after manifest sync completes The 30s timeout was firing during idle event monitoring when no file changes were happening. Now reset to no timeout after manifest_done is received. --- cmd_linux.go | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3