There was a bug in Synapse (https://github.com/matrix-org/synapse/pull/13660) where we didn't correctly call _S3Responder.__exit__, and so the resources were not correctly cleaned up (leading to threadpool exhaustion).
To help mitigate this we should add a __del__ that clears the resources (if not done already) and logs an error.
There was a bug in Synapse (https://github.com/matrix-org/synapse/pull/13660) where we didn't correctly call
_S3Responder.__exit__
, and so the resources were not correctly cleaned up (leading to threadpool exhaustion).To help mitigate this we should add a
__del__
that clears the resources (if not done already) and logs an error.