Avoid launch batch service in test enviroment
This commit is contained in:
parent
1002375439
commit
29e4c3c4af
@ -180,7 +180,9 @@ function App() {
|
|||||||
var versionController = new VersionController();
|
var versionController = new VersionController();
|
||||||
versionController.route(app);
|
versionController.route(app);
|
||||||
|
|
||||||
|
if (global.settings.environment !== 'test') {
|
||||||
batchService(5000, 100);
|
batchService(5000, 100);
|
||||||
|
}
|
||||||
|
|
||||||
return app;
|
return app;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user