MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / shutdown

Method shutdown

packages/server/src/schedule/ScheduleBeat.ts:91–96  ·  view source on GitHub ↗

* Stop all scheduling activity (called on graceful shutdown).

()

Source from the content-addressed store, hash-verified

89 * Stop all scheduling activity (called on graceful shutdown).
90 */
91 public async shutdown(): Promise<void> {
92 for (const [, task] of this.cronJobs) {
93 task.stop()
94 }
95 this.cronJobs.clear()
96 }
97
98 // ─── Mode-agnostic job management ───────────────────────────────────────
99

Callers 3

initializeCountersMethod · 0.80
setupMetricsEndpointMethod · 0.80

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected