uranusjr commented on code in PR #68377:
URL: https://github.com/apache/airflow/pull/68377#discussion_r3490475328


##########
task-sdk/src/airflow/sdk/execution_time/comms.py:
##########
@@ -118,6 +122,39 @@
 ReceiveMsgType = TypeVar("ReceiveMsgType", bound=BaseModel)
 
 
+class DeadlockImminentError(BaseException):
+    """
+    Raised when ``CommsDecoder.send()`` is called from the event loop thread.

Review Comment:
   This should probably mention it only happens when a lock is _also_ being 
acquired? The error is not actually always raised when `send` is called. (Not 
sure about this.)



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