From 9038e7f603f61427c25a46dd7df6cc0563a17807 Mon Sep 17 00:00:00 2001 From: hsc Date: Fri, 26 Oct 2012 17:31:38 +0000 Subject: [PATCH] increase pick window size for job reassignments git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1853 8c4709b5-6ec9-48aa-a5cd-a96041d1645a --- src/core/util/SynchronizedMap.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/util/SynchronizedMap.hpp b/src/core/util/SynchronizedMap.hpp index 5f6c934a..817e93e3 100644 --- a/src/core/util/SynchronizedMap.hpp +++ b/src/core/util/SynchronizedMap.hpp @@ -27,7 +27,8 @@ private: #endif int nextpick; - enum { pick_window_size = 500 }; + // We need a window at least as wide as the number of clients we serve. + enum { pick_window_size = 2000 }; public: SynchronizedMap() : nextpick(0) { }