aa1371 edited a comment on issue #16739: URL: https://github.com/apache/airflow/issues/16739#issuecomment-873166328
Even without the infinite limit I think that resources are still a good fit for this. Using workers would require keeping some additional mapping of `queue_name -> workers` which resources essentially already implicitly gives you. Also, based on my related [dask repo discussion here](https://github.com/dask/distributed/discussions/5010#discussioncomment-957752), I think that you don't even need an arbitrarily large resource limit, and that a resource limit of 1 should be sufficient. Edit: disregard my point about a limit of 1. This was only true in my specific case since I always create workers with nthreads=1, but otherwise it will block tasks that could otherwise run concurrently. So in the general case, turns out you can start your workers with `--resources=RESOURCE_NAME=inf` -- 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]
