MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / restart

Function restart

apps/cloud/scripts/dev-db.ts:241–245  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239 // transactions), so a wedge deep enough can hang the restart too —
240 // bound it and treat that as fatal rather than hanging the watchdog.
241 const restart = async () => {
242 await server.stop();
243 server = makeServer();
244 await server.start();
245 };
246 try {
247 await Promise.race([
248 restart(),

Callers 3

watchdogFunction · 0.85

Calls 2

makeServerFunction · 0.70
startMethod · 0.65

Tested by

no test coverage detected