Skip to content

Commit

Permalink
feat: stop scheduler on app stop (#3129)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Feb 16, 2023
1 parent 339aa16 commit 2888fcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/server-impl.ts
Expand Up @@ -54,6 +54,7 @@ async function createApp(
const stopServer = promisify(server.stop);
await stopServer();
}
services.schedulerService.stop();
metricsMonitor.stopMonitoring();
stores.clientInstanceStore.destroy();
services.clientMetricsServiceV2.destroy();
Expand Down

0 comments on commit 2888fcc

Please sign in to comment.