Skip to content

Query About Error Retry Mechanism in Function Calls #1316

Closed Answered by JosepSampe
lzcmian asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @lzcmian, in Lithops there are 2 different ways to retry failed function calls:

  1. One is to retry all the failed calls manually at the end of the execution. You can find a simple example here.
  2. The second is to use the RetryingFunctionExecutor. This option is a new feature contributed by @tomwhite in #1291, that allows to automatically retry failed calls as soon as they fail instead of doing it manually, but it is not yet released an documented. If you want to try this option, you have to use master branch, and from lithops import RetryingFunctionExecutor. We will add examples and docs in the near future. For now you can check out the tests in here

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@lzcmian
Comment options

Answer selected by lzcmian
Comment options

You must be logged in to vote
1 reply
@lzcmian
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants