Skip to content

Commit 52b60aa

Browse files
committed
#436: cleanup
1 parent 502ac73 commit 52b60aa

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11

22
import database from '^/integrations/database';
3-
import eventBroker from '^/integrations/eventbroker';
43
import fileStore from '^/integrations/filestore';
5-
import notificationService from '^/integrations/notification';
64

75
const disconnections = [];
86

97
if (database.connected) disconnections.push(database.disconnect());
10-
if (eventBroker.connected) disconnections.push(eventBroker.disconnect());
118
if (fileStore.connected) disconnections.push(fileStore.disconnect());
12-
if (notificationService.connected) disconnections.push(notificationService.disconnect());
139

1410
await Promise.allSettled(disconnections);

0 commit comments

Comments
 (0)