From 85f1716a1f011501c9d5f8bf2043c0c3f356ba95 Mon Sep 17 00:00:00 2001 From: ZhuSenlin Date: Thu, 24 Dec 2020 14:59:14 +0800 Subject: [PATCH] speed up local mode object store get (#13052) Co-authored-by: senlin.zsl --- .../main/java/io/ray/runtime/object/LocalModeObjectStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/runtime/src/main/java/io/ray/runtime/object/LocalModeObjectStore.java b/java/runtime/src/main/java/io/ray/runtime/object/LocalModeObjectStore.java index 4614100ae..fed5459b4 100644 --- a/java/runtime/src/main/java/io/ray/runtime/object/LocalModeObjectStore.java +++ b/java/runtime/src/main/java/io/ray/runtime/object/LocalModeObjectStore.java @@ -21,7 +21,7 @@ public class LocalModeObjectStore extends ObjectStore { private static final Logger LOGGER = LoggerFactory.getLogger(LocalModeObjectStore.class); - private static final int GET_CHECK_INTERVAL_MS = 100; + private static final int GET_CHECK_INTERVAL_MS = 1; private final Map pool = new ConcurrentHashMap<>(); private final List> objectPutCallbacks = new ArrayList<>();