mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 05:58:55 +08:00
Add the Delete function in GCS (#4081)
* Add the Delete function in GCS * Unify BatchDelete and Delete * Fix comment * Lint * Refine according to comments * Unify test. * Address comment * C++ lint * Update ray_redis_module.cc
This commit is contained in:
@@ -82,4 +82,6 @@ cdef extern from "ray/ray_config.h" nogil:
|
||||
|
||||
uint32_t num_actor_checkpoints_to_keep() const
|
||||
|
||||
uint32_t maximum_gcs_deletion_batch_size() const
|
||||
|
||||
void initialize(const unordered_map[c_string, int] &config_map)
|
||||
|
||||
@@ -148,3 +148,7 @@ cdef class Config:
|
||||
@staticmethod
|
||||
def num_actor_checkpoints_to_keep():
|
||||
return RayConfig.instance().num_actor_checkpoints_to_keep()
|
||||
|
||||
@staticmethod
|
||||
def maximum_gcs_deletion_batch_size():
|
||||
return RayConfig.instance().maximum_gcs_deletion_batch_size()
|
||||
|
||||
Reference in New Issue
Block a user