[
https://issues.apache.org/jira/browse/BEAM-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chamikara Jayalath resolved BEAM-1388.
--------------------------------------
Resolution: Fixed
Fix Version/s: Not applicable
> Update default configuration of retry decorator so that wait times are more
> practical
> -------------------------------------------------------------------------------------
>
> Key: BEAM-1388
> URL: https://issues.apache.org/jira/browse/BEAM-1388
> Project: Beam
> Issue Type: Improvement
> Components: sdk-py
> Reporter: Chamikara Jayalath
> Assignee: Chamikara Jayalath
> Fix For: Not applicable
>
>
> Currently retry decorator [1] has following default configuration.
> initial delay: 5 sec
> number of retries: 16
> factor: 2
> max delay: 4 hours
> I propose updating these values to following so that default values are more
> practical.
> initial delay: 5 sec
> number of retries: 7
> factor: 2
> max delay: 1 hour
> With this update, for maximum number of retries, system will wait for 635 sec
> while wait before last retry being 320 sec.
> [1]
> https://github.com/apache/beam/blob/master/sdks/python/apache_beam/utils/retry.py#L117
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)