Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Commit 1949ea0

Browse files
committed
🐛 Disable multithread controller on single-core
eDEX-UI: now with potato support. Sort of. Fix #404
1 parent 2217b24 commit 1949ea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_multithread.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if (cluster.isMaster) {
4545
return;
4646
}
4747

48-
if (args.length > 1) {
48+
if (args.length > 1 || cluster.workers.length === 0) {
4949
si[type](...args).then(res => {
5050
if (e.sender) {
5151
e.sender.send("systeminformation-reply-"+id, res);

0 commit comments

Comments
 (0)