MCPcopy Create free account
hub / github.com/agent-tower/core / scheduleRescan

Function scheduleRescan

packages/server/scripts/dev.mjs:63–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 return directories;
62}
63
64function scheduleRescan() {
65 if (rescanTimer) {
66 return;
67 }
68
69 rescanTimer = setTimeout(() => {
70 rescanTimer = null;
71 syncWatchers();
72 }, 100);
73}
74
75function scheduleRestart(changedPath) {

Callers 1

addWatcherFunction · 0.85

Calls 1

syncWatchersFunction · 0.85

Tested by

no test coverage detected