We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 502ac73 commit 52b60aaCopy full SHA for 52b60aa
src/integrations/runtime/tearDownWorker.ts
@@ -1,14 +1,10 @@
1
2
import database from '^/integrations/database';
3
-import eventBroker from '^/integrations/eventbroker';
4
import fileStore from '^/integrations/filestore';
5
-import notificationService from '^/integrations/notification';
6
7
const disconnections = [];
8
9
if (database.connected) disconnections.push(database.disconnect());
10
-if (eventBroker.connected) disconnections.push(eventBroker.disconnect());
11
if (fileStore.connected) disconnections.push(fileStore.disconnect());
12
-if (notificationService.connected) disconnections.push(notificationService.disconnect());
13
14
await Promise.allSettled(disconnections);
0 commit comments