damccorm commented on code in PR #37103:
URL: https://github.com/apache/beam/pull/37103#discussion_r2620876954
##########
sdks/python/apache_beam/utils/multi_process_shared.py:
##########
@@ -105,25 +113,47 @@ def __dir__(self):
dir = self._SingletonProxy_entry.obj.__dir__()
dir.append('singletonProxy_call__')
dir.append('singletonProxy_release')
+ dir.append('unsafe_hard_delete')
return dir
+def _run_with_oom_protection(func, *args, **kwargs):
Review Comment:
It is surprising to me that we're handling this here - if we do this, we
should probably not do it in all cases. But delegating to the caller seems more
natural to me
--
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]