diff --git a/server.js b/server.js index dd7af27..4a36174 100644 --- a/server.js +++ b/server.js @@ -53,4 +53,7 @@ app.post('/scores', (req, res) => { app.listen(3030, () => { console.log('Server listening on port 3030!'); -}); \ No newline at end of file +}); +setInterval(function () { + connection.query('SELECT 1'); +}, 5000);