-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AIRFLOW-XXXX] Adjust celery defaults to work with breeze #7205
[AIRFLOW-XXXX] Adjust celery defaults to work with breeze #7205
Conversation
@@ -40,7 +40,7 @@ def _broker_supports_visibility_timeout(url): | |||
broker_transport_options['visibility_timeout'] = 21600 | |||
|
|||
DEFAULT_CELERY_CONFIG = { | |||
'accept_content': ['json', 'pickle'], | |||
'accept_content': ['json'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reason for this changes:
Running a worker with superuser privileges when the
worker accepts messages serialized with pickle is a very bad idea!
If you really want to continue then you have to set the C_FORCE_ROOT
environment variable (but please think about this before you do).
User information: uid=0 euid=0 gid=0 egid=0
Codecov Report
@@ Coverage Diff @@
## master #7205 +/- ##
==========================================
- Coverage 85.37% 85.12% -0.26%
==========================================
Files 723 753 +30
Lines 39543 39709 +166
==========================================
+ Hits 33761 33801 +40
- Misses 5782 5908 +126
Continue to review full report at Codecov.
|
(cherry picked from commit 24ca556)
(cherry picked from commit 24ca556)
(cherry picked from commit 24ca556)
(cherry picked from commit 24ca556)
)" This reverts commit 5f8f00d.
(cherry picked from commit 24ca556)
Part of apache#7205 (cherry picked from commit b65ed471a662ee4d90420a90d093b27ceeb4a227)
Part of apache#7205 (cherry picked from commit b65ed471a662ee4d90420a90d093b27ceeb4a227)
I think this change was unintentional -- apache#7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense.
This change was unintentional -- #7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense.
Part of apache/airflow#7205 GitOrigin-RevId: 7f20bedc3aaece73acb8b741c84720da66336ed4
Part of apache/airflow#7205 GitOrigin-RevId: 7f20bedc3aaece73acb8b741c84720da66336ed4
This change was unintentional -- apache#7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense. (cherry picked from commit 6c458f2) (cherry picked from commit 6f8f23a)
Part of apache/airflow#7205 GitOrigin-RevId: 7f20bedc3aaece73acb8b741c84720da66336ed4
Part of apache/airflow#7205 GitOrigin-RevId: 7f20bedc3aaece73acb8b741c84720da66336ed4
Part of apache/airflow#7205 GitOrigin-RevId: 7f20bedc3aaece73acb8b741c84720da66336ed4
This change was unintentional -- apache/airflow#7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense. (cherry picked from commit 6c458f29c0eeadb1282e524e76fdd379d6436824) GitOrigin-RevId: 6f8f23a019f61580d4fe46aa0a7c196478cef6d0
This change was unintentional -- apache/airflow#7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense. GitOrigin-RevId: 6c458f29c0eeadb1282e524e76fdd379d6436824
This change was unintentional -- apache/airflow#7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense. GitOrigin-RevId: 6c458f29c0eeadb1282e524e76fdd379d6436824
This change was unintentional -- apache/airflow#7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense. GitOrigin-RevId: 6c458f29c0eeadb1282e524e76fdd379d6436824
This change was unintentional -- apache/airflow#7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense. GitOrigin-RevId: 6c458f29c0eeadb1282e524e76fdd379d6436824
This change was unintentional -- apache/airflow#7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense. GitOrigin-RevId: 6c458f29c0eeadb1282e524e76fdd379d6436824
This change was unintentional -- apache/airflow#7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense. (cherry picked from commit 6c458f29c0eeadb1282e524e76fdd379d6436824) GitOrigin-RevId: 6f8f23a019f61580d4fe46aa0a7c196478cef6d0
This change was unintentional -- apache/airflow#7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense. GitOrigin-RevId: 6c458f29c0eeadb1282e524e76fdd379d6436824
This change was unintentional -- apache/airflow#7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense. GitOrigin-RevId: 6c458f29c0eeadb1282e524e76fdd379d6436824
This change was unintentional -- apache/airflow#7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense. GitOrigin-RevId: 6c458f29c0eeadb1282e524e76fdd379d6436824
This change was unintentional -- apache/airflow#7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense. GitOrigin-RevId: 6c458f29c0eeadb1282e524e76fdd379d6436824
This change was unintentional -- apache/airflow#7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense. GitOrigin-RevId: 6c458f29c0eeadb1282e524e76fdd379d6436824
This change was unintentional -- apache/airflow#7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense. GitOrigin-RevId: 6c458f29c0eeadb1282e524e76fdd379d6436824
This change was unintentional -- apache/airflow#7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense. GitOrigin-RevId: 6c458f29c0eeadb1282e524e76fdd379d6436824
This change was unintentional -- apache/airflow#7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense. GitOrigin-RevId: 6c458f29c0eeadb1282e524e76fdd379d6436824
This change was unintentional -- apache/airflow#7205 That PR just changed it to work with breeze. Since we had `16` as default in 1.10.x and to get better performance and keep in line with `dag_concurrency` and `max_active_runs_per_dag` -- I think `16` makes more sense. GitOrigin-RevId: 6c458f29c0eeadb1282e524e76fdd379d6436824
This PR changes default Celery configs values to ease working with CeleryExecutor in Breeze.
Issue link:
Document only change, no JIRA issue
Make sure to mark the boxes below before creating PR: [x]
[AIRFLOW-NNNN]
. AIRFLOW-NNNN = JIRA ID** For document-only changes commit message can start with
[AIRFLOW-XXXX]
.In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.
Read the Pull Request Guidelines for more information.