mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
remove profiling code
This commit is contained in:
@@ -28,10 +28,6 @@ if (CORES !== 0 && cluster.isMaster && (IS_DEV || IS_PROD)) {
|
|||||||
// Fork workers. If config.json has WEB_CONCURRENCY=x,
|
// Fork workers. If config.json has WEB_CONCURRENCY=x,
|
||||||
// use that - otherwise, use all cpus-1 (production)
|
// use that - otherwise, use all cpus-1 (production)
|
||||||
for (let i = 0; i < CORES; i += 1) {
|
for (let i = 0; i < CORES; i += 1) {
|
||||||
cluster.setupMaster({
|
|
||||||
exec: process.argv[1],
|
|
||||||
args: ['--interpreted-frames-native-stack', '--perf-basic-prof'],
|
|
||||||
});
|
|
||||||
cluster.fork();
|
cluster.fork();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user