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

Function restart

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

Source from the content-addressed store, hash-verified

256 // transactions), so a wedge deep enough can hang the restart too —
257 // bound it and treat that as fatal rather than hanging the watchdog.
258 const restart = async () => {
259 await server.stop();
260 server = makeServer();
261 await server.start();
262 };
263 try {
264 await Promise.race([
265 restart(),

Callers 3

watchdogFunction · 0.85

Calls 2

makeServerFunction · 0.70
startMethod · 0.65

Tested by

no test coverage detected