Remove pointless micro-optimization

This saved 30ms of the startup on my machine.  Even if it saved a second
it's still pretty pointless as we're not depending on the master server
startup being super fast.
This commit is contained in:
Hornwitser committed 2019-08-07 10:18:14 +02:00
1 parent 200c8dbdeb
commit ca0281ae58
3 files changed
-7

No files matched your search

-2
View File
@@ -62,7 +62,5 @@ sharedPlugins/scenario_loader/scenarios
# File used for marking plugins as disabled
sharedPlugins/*/DISABLED
\.cache-require-paths\.json
# IDE
.idea/
-4
View File
@@ -26,10 +26,6 @@ process.on('unhandledRejection', r => console.log(r));
// configgy stuff
debug = false;
// reduces loadtime from 1700 ms to 1200 ms on my i3 + SSD
// tested by logging Date.now() here and when the webserver started listening
require('cache-require-paths');
// argument parsing
const args = require('minimist')(process.argv.slice(2));
-1
View File
@@ -25,7 +25,6 @@
"bcrypt-promise": "^2.0.0",
"bcryptjs": "^2.4.3",
"body-parser": "^1.18.2",
"cache-require-paths": "^0.3.0",
"cli": "^1.0.1",
"cli-interact": "^0.1.9",
"codecov": "^3.0.1",