x42005e1f commented on PR #51699:
URL: https://github.com/apache/airflow/pull/51699#issuecomment-2971117179

   > In short this appears to help the problem, but all of the discussion in 
the issue about this makes me think that it _shouldn't_ fix it.
   
   I think the same way. If `async_to_sync()` is called in the same thread as 
the event loop (which was a deadlock condition), it will raise `RuntimeError: 
You cannot use AsyncToSync in the same thread as an async event loop - just 
await the async function directly`. The problem may not show up either because 
of insufficient test coverage or because this PR eliminates the situation where 
synchronous and asynchronous `send()`'s are mixed in the same thread.


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

Reply via email to