mirror of
https://github.com/wassname/ray.git
synced 2026-10-28 13:21:06 +08:00
Document fault tolerance behavior. (#6698)
This commit is contained in:
1 parent
20ba7ef647
commit
5e43b25e8c
3 files changed
+80
-35
No files matched your search
@@ -1727,7 +1727,12 @@ def remote(*args, **kwargs):
|
||||
number of times that the actor should be reconstructed when it dies
|
||||
unexpectedly. The minimum valid value is 0 (default), which indicates
|
||||
that the actor doesn't need to be reconstructed. And the maximum valid
|
||||
value is ray.ray_constants.INFINITE_RECONSTRUCTIONS.
|
||||
value is ray.ray_constants.INFINITE_RECONSTRUCTION.
|
||||
* **max_retries**: Only for *remote functions*. This specifies the maximum
|
||||
number of times that the remote function should be rerun when the worker
|
||||
process executing it crashes unexpectedly. The minimum valid value is 0,
|
||||
the default is 4 (default), and the maximum valid value is
|
||||
ray.ray_constants.INFINITE_RECONSTRUCTION.
|
||||
|
||||
This can be done as follows:
|
||||
|
||||
|
||||
Reference in new issue
Block a user