MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isWatcherDegraded

Method isWatcherDegraded

src/index.ts:1037–1039  ·  view source on GitHub ↗

* True once live watching has permanently degraded (OS watch-resource * exhaustion, or a write lock held past the retry budget) and auto-sync is * disabled until the next watch call. Distinct from `!isWatching()`: * a stopped/never-started watcher is inactive but NOT degraded. MCP t

()

Source from the content-addressed store, hash-verified

1035 * `getPendingFiles()` goes empty once watching stops (#876).
1036 */
1037 isWatcherDegraded(): boolean {
1038 return this.watcher?.isDegraded() ?? false;
1039 }
1040
1041 /** The reason live watching degraded, or null if it is healthy (#876). */
1042 getWatcherDegradedReason(): string | null {

Callers 3

withStalenessNoticeMethod · 0.80
handleStatusMethod · 0.80
degradeWatcherFunction · 0.80

Calls 1

isDegradedMethod · 0.80

Tested by 1

degradeWatcherFunction · 0.64