From c87cdfca2e385f5fa592b3351023cd7802346466 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Wed, 22 Jan 2014 17:18:53 +0100 Subject: [PATCH] do not set a load prerequisite that prevents the start of one-time-jobs --- source/net/yacy/kelondro/workflow/InstantBusyThread.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/yacy/kelondro/workflow/InstantBusyThread.java b/source/net/yacy/kelondro/workflow/InstantBusyThread.java index 846f5e669..ebac7f506 100644 --- a/source/net/yacy/kelondro/workflow/InstantBusyThread.java +++ b/source/net/yacy/kelondro/workflow/InstantBusyThread.java @@ -165,7 +165,7 @@ public final class InstantBusyThread extends AbstractBusyThread implements BusyT thread.setIdleSleep(-1); thread.setBusySleep(-1); thread.setMemPreReqisite(0); - thread.setLoadPreReqisite(3); + thread.setLoadPreReqisite(99); // this is called during initialization phase and some code parts depend on it; therefore we cannot set a prerequisite that prevents the start of that thread thread.start(); return thread; }