MCPcopy Index your code
hub / github.com/ByBrawe/opencode-loop / stopWatchdog

Function stopWatchdog

src/index.js:937–941  ·  view source on GitHub ↗
(sessionID)

Source from the content-addressed store, hash-verified

935 if (existing) clearInterval(existing)
936 watchdogTimers.delete(sessionID)
937 return
938 }
939 if (delay <= 0) await maybeRunDueJobs(directory, client, sessionID)
940 else await scheduleDueWork(directory, client, sessionID)
941 })
942 .catch((error) => appendLoopLog(directory, "watchdog-error", { sessionID, error: sdkErrorMessage(error) }).catch(() => {}))
943 }, Math.max(1_000, BUSY_RETRY_MS))
944 // Keep this interval referenced. In current OpenCode TUI builds, plugin hooks

Callers 1

stopLoopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected