feat(assist-server): removed unnecessary comments

This commit is contained in:
Alexander 2025-04-04 15:13:45 +02:00
parent 8b3be469b6
commit f70cce7e23
2 changed files with 1 additions and 3 deletions

View file

@ -102,6 +102,7 @@ jobs:
done
- name: Deploy to kubernetes
run: |
pwd
cd ../scripts/helmcharts/
# Update changed image tag

View file

@ -5,7 +5,6 @@ const { authorizer } = require("./app/assist");
const { onConnect, setSocketIOServer } = require("./app/socket");
const { startCacheRefresher } = require("./app/cache");
// Create uWebSockets.js app
const app = App();
const prefix = process.env.PREFIX || process.env.prefix || `/assist`;
const pingInterval = parseInt(process.env.PING_INTERVAL) || 5000;
@ -62,10 +61,8 @@ app.listen(PORT, (token) => {
console.log(`Failed to listen on port ${PORT}`);
}
});
startCacheRefresher(io);
// Error handling for uncaught exceptions
process.on('uncaughtException', err => {
logger.error(`Uncaught Exception: ${err}`);
});