lokeshlal commented on issue #6975: Dynamic pooling via allowing tasks to use 
more than one pool slot (depending upon the need)
URL: https://github.com/apache/airflow/pull/6975#issuecomment-569973430
 
 
   @dimberman Sorry for the confusion I created with my previous comment. I 
have not implemented multiple pools... only implemented a way to use more than 
one pool slot in a task. specifically trying to resolve 
https://issues.apache.org/jira/browse/AIRFLOW-1467 
   
   for example, provide number of pool slots a task will be using using 
pool_capacity property
   ```
   task = BashOperator(
       task_id='sleep',
       bash_command='sleep 300',
       retries=3,
       pool='test',
       pool_capacity=6, 
       dag=dag)
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to