From c7a51565735d1a33105fd30291e51346c064d2c2 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 11 Feb 2013 13:19:39 -0800 Subject: [PATCH] - client: work fetch: if there are idle devices, we need to ask the highest-prio project for work for all of them (don't scale by the fetchable resource share!). This should fix some device starvation problems. --- client/work_fetch.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/work_fetch.cpp b/client/work_fetch.cpp index 37c6a22757..45b3fbb720 100644 --- a/client/work_fetch.cpp +++ b/client/work_fetch.cpp @@ -456,9 +456,7 @@ void RSC_WORK_FETCH::set_request(PROJECT* p) { } } - // our share of the idle instances - // - req_instances = nidle_now * w.fetchable_share; + req_instances = nidle_now; if (log_flags.work_fetch_debug) { msg_printf(0, MSG_INFO,