beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chamikara Jayalath (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BEAM-1388) Update default configuration of retry decorator so that wait times are more practical
Date Sat, 04 Feb 2017 01:01:57 GMT
Chamikara Jayalath created BEAM-1388:
----------------------------------------

             Summary: 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


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)

Mime
View raw message