Permalink
Browse files

fixed default loading default settings; load was populated with wrong…

… value
  • Loading branch information...
ScRe13 ScRe13
ScRe13 authored and ScRe13 committed Dec 12, 2017
1 parent 20bba13 commit bb3d3fe07414784619984b13cafb551c7efdc5c2
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 bb3d3fe

Please sign in to comment.