Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
Remove some processing from bootstraper init
Hakan Shehued92a4dcc19e
diff --git a/apps/desktop/src/main/bootstrapper.ts b/apps/desktop/src/main/bootstrapper.tsindex fea63080..3f2cbe0f 100644--- a/apps/desktop/src/main/bootstrapper.ts+++ b/apps/desktop/src/main/bootstrapper.ts@@ -32,13 +32,10 @@ class Bootstrapper {this.debug('Initializing');await databaseService.init();- await serverService.syncServers();- await radarService.init();- await socketService.checkConnections();- notificationService.init();+ radarService.init();if (!this.eventLoop) {- this.eventLoop = setTimeout(this.executeEventLoop, 50);+ this.eventLoop = setTimeout(this.executeEventLoop, 20);}}diff --git a/apps/desktop/src/main/services/notification-service.ts b/apps/desktop/src/main/services/notification-service.tsindex 6ae25f68..dac37654 100644--- a/apps/desktop/src/main/services/notification-service.ts+++ b/apps/desktop/src/main/services/notification-service.ts@@ -16,10 +16,6 @@ class NotificationService {});}- public init() {- this.checkBadge();- }-public checkBadge() {if (process.platform !== 'darwin') {return;