Permalink
Browse files

Merge pull request #149 from Scre13/bugfix_default_settings

Fixed loading default thread load setting in Performance Settings of Queues and Processes.
  • Loading branch information...
luccioman committed Dec 13, 2017
2 parents 20bba13 + bb3d3fe commit 2bc61f56577fb103c861b33aaf9d3792ba2b48dd
Showing with 1 addition and 1 deletion.
  1. +1 −1 htroot/PerformanceQueues_p.java
@@ -219,7 +219,7 @@ public static serverObjects respond(final RequestHeader header, final serverObje
idlesleep = Long.parseLong(d(defaultSettings.get(threadName + "_idlesleep"), String.valueOf(idlesleep)));
busysleep = Long.parseLong(d(defaultSettings.get(threadName + "_busysleep"), String.valueOf(busysleep)));
memprereq = Long.parseLong(d(defaultSettings.get(threadName + "_memprereq"), String.valueOf(memprereq)));
loadprereq = Double.parseDouble(d(defaultSettings.get(threadName + "_loadprereq"), String.valueOf(memprereq)));
loadprereq = Double.parseDouble(d(defaultSettings.get(threadName + "_loadprereq"), String.valueOf(loadprereq)));
// check values to prevent short-cut loops
if (idlesleep < 1000) idlesleep = 1000;
//if (threadName.equals(plasmaSwitchboardConstants.CRAWLJOB_LOCAL_CRAWL) && (busysleep < 50)) busysleep = 50;

0 comments on commit 2bc61f5

Please sign in to comment.