mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 19:00:36 +08:00
speed up local mode object store get (#13052)
Co-authored-by: senlin.zsl <senlin.zsl@antfin.com>
This commit is contained in:
@@ -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<ObjectId, NativeRayObject> pool = new ConcurrentHashMap<>();
|
||||
private final List<Consumer<ObjectId>> objectPutCallbacks = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user