beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-1388) Update default configuration of retry decorator so that wait times are more practical
Date Mon, 06 Feb 2017 19:01:41 GMT

    [ https://issues.apache.org/jira/browse/BEAM-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854549#comment-15854549
] 

ASF GitHub Bot commented on BEAM-1388:
--------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/beam/pull/1916


> 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