Skip to content
Snippets Groups Projects
Commit 41d366de authored by michael.minelli's avatar michael.minelli
Browse files

App => Import TypeScriptExtension

parent 80e57306
No related branches found
No related tags found
No related merge requests found
// Read from the .env file require('dotenv').config(); // ATTENTION : This line MUST be the first of this file
// ATTENTION : This line MUST be the first of this file require('./shared/helpers/TypeScriptExtensions'); // ATTENTION : This line MUST be the second of this file
require('dotenv').config();
import WorkerRole from './process/WorkerRole'; import WorkerRole from './process/WorkerRole';
import ClusterManager from './process/ClusterManager'; import ClusterManager from './process/ClusterManager';
...@@ -10,6 +9,7 @@ import HttpManager from './managers/HttpManager'; ...@@ -10,6 +9,7 @@ import HttpManager from './managers/HttpManager';
HttpManager.registerAxiosInterceptor(); HttpManager.registerAxiosInterceptor();
(new ClusterManager([ { (new ClusterManager([ {
role : WorkerRole.API, role : WorkerRole.API,
quantity : ClusterManager.CORES, quantity : ClusterManager.CORES,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment