Merge branch 'main' into git-main

This commit is contained in:
VinceC
2025-07-13 04:26:54 -05:00
14 changed files with 1347 additions and 502 deletions

View File

@@ -23,6 +23,15 @@ class NotificationService {
console.log(`Notification service listening on port ${port}`);
resolve();
});
this.server.on('error', (error) => {
if (error.code === 'EADDRINUSE') {
console.log(`Port ${port} is in use, trying port ${port + 1}`);
this.start(port + 1).then(resolve).catch(reject);
} else {
reject(error);
}
});
} catch (error) {
reject(error);
}