From bb3d3fe07414784619984b13cafb551c7efdc5c2 Mon Sep 17 00:00:00 2001 From: ScRe13 Date: Tue, 12 Dec 2017 23:25:56 +0100 Subject: [PATCH] fixed default loading default settings; load was populated with wrong value --- htroot/PerformanceQueues_p.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htroot/PerformanceQueues_p.java b/htroot/PerformanceQueues_p.java index bfae08f13..c2fe3b778 100644 --- a/htroot/PerformanceQueues_p.java +++ b/htroot/PerformanceQueues_p.java @@ -219,7 +219,7 @@ public class PerformanceQueues_p { 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;