'use strict';

const throng = require('throng');

const app = require('./app');

const WORKERS = process.env.WEB_CONCURRENCY || 1;

throng({
  workers: WORKERS,
  lifetime: Infinity,
  start: app
});

'use strict';

const throng = require('throng');

const app = require('./app');

const WORKERS = process.env.WEB_CONCURRENCY || 1;

throng(app, {
  workers: WORKERS,
  lifetime: Infinity
});

--- 
+++ 
@@ -6,7 +6,8 @@
 
 const WORKERS = process.env.WEB_CONCURRENCY || 1;
 
-throng(app, {
+throng({
   workers: WORKERS,
-  lifetime: Infinity
+  lifetime: Infinity,
+  start: app
 });
Update server to support throng 4.x
