potiuk commented on a change in pull request #21181:
URL: https://github.com/apache/airflow/pull/21181#discussion_r798426655
##########
File path: airflow/models/dagbag.py
##########
@@ -89,7 +89,6 @@ class DagBag(LoggingMixin):
"""
DAGBAG_IMPORT_TIMEOUT = conf.getfloat('core', 'DAGBAG_IMPORT_TIMEOUT')
- SCHEDULER_ZOMBIE_TASK_THRESHOLD = conf.getint('scheduler',
'scheduler_zombie_task_threshold')
Review comment:
I would be for removing it. There is one other place (local_task_job)
where the threshold is used (but directly) so I think this is a leftover from
separating this on out. I do not imagine any use of the constant by the users
:). Anyone who wants this value should do `conf.getint`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]