MCPcopy Create free account
hub / github.com/bytebase/dbhub / scheduleReload

Function scheduleReload

src/utils/config-watcher.ts:38–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 let lastGoodTools: ToolConfig[] | undefined = initialTools;
37
38 const scheduleReload = () => {
39 if (debounceTimer) {
40 clearTimeout(debounceTimer);
41 }
42 debounceTimer = setTimeout(reload, DEBOUNCE_MS);
43 };
44
45 const reload = async () => {
46 if (isReloading) {

Callers 2

reloadFunction · 0.85
startConfigWatcherFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected