mirror of
https://github.com/wassname/ray.git
synced 2026-07-16 11:21:10 +08:00
Move plasma retry logic into plasma store provider (#7328)
This commit is contained in:
@@ -22,12 +22,6 @@ ID_SIZE = 20
|
||||
# The default maximum number of bytes to allocate to the object store unless
|
||||
# overridden by the user.
|
||||
DEFAULT_OBJECT_STORE_MAX_MEMORY_BYTES = 20 * 10**9
|
||||
# The default number of retries to call `put` when the object store is full.
|
||||
DEFAULT_PUT_OBJECT_RETRIES = 5
|
||||
# The default seconds for delay between calls to retry `put` when
|
||||
# the object store is full. This delay is exponentially doubled up to
|
||||
# DEFAULT_PUT_OBJECT_RETRIES times.
|
||||
DEFAULT_PUT_OBJECT_DELAY = 1
|
||||
# The smallest cap on the memory used by the object store that we allow.
|
||||
# This must be greater than MEMORY_RESOURCE_UNIT_BYTES * 0.7
|
||||
OBJECT_STORE_MINIMUM_MEMORY_BYTES = 75 * 1024 * 1024
|
||||
|
||||
Reference in New Issue
Block a user