feat(assist-server): removed unnecessary comments
This commit is contained in:
parent
8b3be469b6
commit
f70cce7e23
2 changed files with 1 additions and 3 deletions
1
.github/workflows/assist-server-ee.yaml
vendored
1
.github/workflows/assist-server-ee.yaml
vendored
|
|
@ -102,6 +102,7 @@ jobs:
|
|||
done
|
||||
- name: Deploy to kubernetes
|
||||
run: |
|
||||
pwd
|
||||
cd ../scripts/helmcharts/
|
||||
|
||||
# Update changed image tag
|
||||
|
|
|
|||
|
|
@ -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}`);
|
||||
});
|
||||
Loading…
Add table
Reference in a new issue