Skip to content

Commit

Permalink
fix TIMEOUT_MS parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
majodev committed Feb 6, 2023
1 parent d3ccd37 commit 9cb2ee4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ process.env.NODE_ENV = process.env.NODE_ENV || 'development';
// process.env.DEBUG = 'gwfh*';

var debug = require('debug')('gwfh:app');

var _ = require('lodash');
var express = require('express');
var config = require('./config/environment');
// Setup server
var app = express();
var server = require('http').createServer(app);
server.timeout = config.serverTimeout; // 60 seconds
server.timeout = _.parseInt(config.serverTimeout); // 60 seconds

require('./config/express')(app);
require('./routes')(app);
Expand Down

0 comments on commit 9cb2ee4

Please sign in to comment.