jmcarp commented on issue #5259: [AIRFLOW-4478] Lazily instantiate default 
`Resources` object
URL: https://github.com/apache/airflow/pull/5259#issuecomment-506980693
 
 
   @ashb: I believe we still create a separate `Resources` instance for each 
task/runner under this patch. If `resources` is passed to the operator 
constructor, we instantiate a separate `Resources` in the constructor. If not, 
the `CgroupTaskRunner` lazily instantiates a default `Resources` at runtime. So 
I don't think there are any shared `Resources` instances that could affect 
multiple tasks.

----------------------------------------------------------------
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