Lee-W commented on code in PR #42304:
URL: https://github.com/apache/airflow/pull/42304#discussion_r1766054291
##########
airflow/executors/base_executor.py:
##########
@@ -617,6 +619,7 @@ def debug_dump(self):
len(self.event_buffer),
"\n\t".join(map(repr, self.event_buffer.items())),
)
+ self.log.info("executor memory usgae (current: %d, peak: %d)",
*tracemalloc.get_traced_memory())
Review Comment:
Yep, thanks for reminding me. I'll move them to `__init__` and `__del__`
separately.
> This feels a bit like putting debugging logic into the main.
I just updated the description, and yes, the main reason for adding it is to
ease the debugging process receiving sigurs2. or maybe let me change it to debug
--
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]