You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/10/05 07:57:08 UTC
[GitHub] [airflow] kaxil commented on a change in pull request #18704: Rename ``processor_poll_interval`` to ``scheduler_idle_sleep_time``
kaxil commented on a change in pull request #18704:
URL: https://github.com/apache/airflow/pull/18704#discussion_r721983486
##########
File path: airflow/jobs/scheduler_job.py
##########
@@ -117,7 +119,16 @@ def __init__(
# number of times. This is only to support testing, and isn't something a user is likely to want to
# configure -- they'll want num_runs
self.num_times_parse_dags = num_times_parse_dags
- self._processor_poll_interval = processor_poll_interval
+ if processor_poll_interval and not scheduler_idle_sleep_time:
Review comment:
```suggestion
if processor_poll_interval:
```
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org