From 5784b91bc30764a7d4bcd4085e57a9baf1d4c995 Mon Sep 17 00:00:00 2001 From: Michael Eischer <eischer@cs.fau.de> Date: Fri, 3 Jul 2020 18:43:44 +0200 Subject: [PATCH] REFITLocalReplica: Add a short delay after the first replica init This should lead to less mangled stack traces --- src/refit/client/REFITLocalSystem.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/refit/client/REFITLocalSystem.java b/src/refit/client/REFITLocalSystem.java index 9243eeb..36462d4 100644 --- a/src/refit/client/REFITLocalSystem.java +++ b/src/refit/client/REFITLocalSystem.java @@ -37,6 +37,7 @@ public class REFITLocalSystem { throw new InternalError(e); } }); + if (i == 0) REFITTime.sleep(100); } executor.shutdown(); try { -- GitLab