mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-15 02:32:22 +00:00
remove profiling code
This commit is contained in:
parent
537313a21e
commit
3101abbb08
1 changed files with 0 additions and 4 deletions
|
|
@ -28,10 +28,6 @@ if (CORES !== 0 && cluster.isMaster && (IS_DEV || IS_PROD)) {
|
|||
// Fork workers. If config.json has WEB_CONCURRENCY=x,
|
||||
// use that - otherwise, use all cpus-1 (production)
|
||||
for (let i = 0; i < CORES; i += 1) {
|
||||
cluster.setupMaster({
|
||||
exec: process.argv[1],
|
||||
args: ['--interpreted-frames-native-stack', '--perf-basic-prof'],
|
||||
});
|
||||
cluster.fork();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue