mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Numprocesses set to 1 in non-redis environment
This commit is contained in:
@@ -16,6 +16,7 @@ try {
|
||||
startClustered(true);
|
||||
} catch(e) {
|
||||
console.log("Couldn't connect to redis-server, assuming non-clustered run");
|
||||
num_processes = 1;
|
||||
startClustered(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user