const PORT = 3000; const server = app.listen(PORT); const timeout = 50*1000; // example timeout of 50 seconds server.setTimeout(timeout);