mirror of
https://github.com/wassname/ray.git
synced 2026-07-06 05:16:30 +08:00
Add timeout param to ray.get (#6107)
This commit is contained in:
committed by
Richard Liaw
parent
e4c0843f60
commit
e3e3ad4b25
@@ -161,6 +161,11 @@ class UnreconstructableError(RayError):
|
||||
"https://ray.readthedocs.io/en/latest/memory-management.html"))
|
||||
|
||||
|
||||
class RayTimeoutError(RayError):
|
||||
"""Indicates that a call to the worker timed out."""
|
||||
pass
|
||||
|
||||
|
||||
RAY_EXCEPTION_TYPES = [
|
||||
RayError,
|
||||
RayTaskError,
|
||||
@@ -168,4 +173,5 @@ RAY_EXCEPTION_TYPES = [
|
||||
RayActorError,
|
||||
ObjectStoreFullError,
|
||||
UnreconstructableError,
|
||||
RayTimeoutError,
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user