witty-crayon-22786
11/12/2019, 11:54 PMhundreds-father-404
11/13/2019, 12:10 AMtest
to have retries completely exposed and parametrized to the user, whereas UrlToFetch
should probably be automatic
Either way, we need a mechanism for them to both have the same retry behavior: if the rule fails, retry up to n times
We can add the custom logic on top of this mechanism, like configuring the number of retries or presenting it to the user differently. This would all build off of the underlying mechanismwitty-crayon-22786
11/13/2019, 12:38 AMtest
casehundreds-father-404
11/13/2019, 12:40 AMresult, num_attempts = yield RetryableGet(FallibleExecuteProcessResult, ExecuteProcessRequest, request, max_retries=options.max_retries)
witty-crayon-22786
11/13/2019, 12:41 AMwitty-crayon-22786
11/13/2019, 12:42 AMwitty-crayon-22786
11/13/2019, 12:52 AM