ashb commented on PR #51699: URL: https://github.com/apache/airflow/pull/51699#issuecomment-2976647230
Ahhh I know why it helps then. The main thread/outer is the async event loop. It calls in to `get_connection` via `sync_to_async` so it is running in a thread. The new change in this PR now means that TriggerCommsDecoder calls `async_to_sync(self.asend)` -- which then "bubbles up" to the main thread, and it is now only the async code that locks things, so the sync thread is never trying to achieve the lock directly. -- 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]
