mirror of
https://github.com/wassname/ray.git
synced 2026-07-12 20:25:44 +08:00
Document fault tolerance behavior. (#6698)
This commit is contained in:
@@ -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