Document fault tolerance behavior. (#6698)

This commit is contained in:
Robert Nishihara
2020-01-06 22:34:06 -08:00
committed by GitHub
parent 20ba7ef647
commit 5e43b25e8c
3 changed files with 80 additions and 35 deletions
+6 -1
View File
@@ -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: