Well, sending messages took longer than it should have
This commit is contained in:
@@ -172,11 +172,6 @@ class Server {
|
||||
this.registerRoutes(router)
|
||||
app.use('/', router);
|
||||
|
||||
setInterval(() => {
|
||||
console.log("saving db")
|
||||
global.db.saveData()
|
||||
}, 5000)
|
||||
|
||||
const server = http.createServer(app);
|
||||
global.Socket = new Socket(server);
|
||||
const PORT = 3003;
|
||||
|
||||
Reference in New Issue
Block a user