[ https://issues.apache.org/jira/browse/AIRFLOW-1744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16217437#comment-16217437 ]
ASF subversion and git services commented on AIRFLOW-1744: ---------------------------------------------------------- Commit 6144c6f0292600a51e87aa7970746466453c4b3f in incubator-airflow's branch refs/heads/v1-9-test from [~bolke] [ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=6144c6f ] [AIRFLOW-1744] Make sure max_tries can be set task.retries can be False. Which is not acceptable for and integer field. Closes #2713 from bolkedebruin/AIRFLOW-1744 (cherry picked from commit f271d437a6d168521d6d6b06e43ce9262ba3dccf) Signed-off-by: Bolke de Bruin <bo...@xs4all.nl> > task.retries can be False > -------------------------- > > Key: AIRFLOW-1744 > URL: https://issues.apache.org/jira/browse/AIRFLOW-1744 > Project: Apache Airflow > Issue Type: Bug > Reporter: Bolke de Bruin > Priority: Blocker > Fix For: 1.9.0 > > > When adding the max_tries field task.retries can be False (e.g. in case of a > faulty day). At least Postgres will not accept "False" for an integer field. > It is proposed to set it to try_number in case try_number > 0 otherwise to 1. -- This message was sent by Atlassian JIRA (v6.4.14#64029)