Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node express js set server timeout

const PORT = 3000;
const server = app.listen(PORT);

const timeout = 50*1000; // example timeout of 50 seconds
server.setTimeout(timeout);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #node #express #js #set #server #timeout
ADD COMMENT
Topic
Name
8+6 =