You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/01/29 08:24:00 UTC

[jira] [Commented] (AIRFLOW-3782) Minor refinement of worker_autoscale in airflow.cfg template

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

ASF GitHub Bot commented on AIRFLOW-3782:
-----------------------------------------

XD-DENG commented on pull request #4609: [AIRFLOW-3782] Minor refinement of worker_autoscale in default_airflow.cfg
URL: https://github.com/apache/airflow/pull/4609
 
 
   
   ### Jira
   
     - https://issues.apache.org/jira/browse/AIRFLOW-3782
   
   ### Description
   
   Celery supports `autoscale` by accepting values in format `max_concurrency,min_concurrency`.
   But the default value in `default_airflow.cfg` is wrong, and the comment can be clearer.
   
   Reference: http://docs.celeryproject.org/en/latest/reference/celery.bin.worker.html#cmdoption-celery-worker-autoscale
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Minor refinement of worker_autoscale in airflow.cfg template
> ------------------------------------------------------------
>
>                 Key: AIRFLOW-3782
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3782
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: configuration
>    Affects Versions: 1.10.2
>            Reporter: Xiaodong DENG
>            Assignee: Xiaodong DENG
>            Priority: Minor
>
> The default value in default_airflow.cfg is `{color:#6a737d}#{color}{color:#6a737d} worker_autoscale = 12,16{color}`.
> It's somehow misleading and user may just change it in-place in a "minimum,maximum" style while Celery only supports formats like "{color:#333333}--{color}autoscale{color:#333333}={color}{color:#0000dd}10{color},{color:#0000dd}3{color}". i.e. it should be "{color:#3e4349}max_concurrency, min_concurrency{color}".{color:#0000dd}
> {color}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)