Commit 50134569 by Julien Muchembled

threaded: make it possible to send packets from a connection filter

This could have been useful in testStorageFailureDuringTpcFinish:
close() could not be called from answerTransactionFinished because it
deadlocked while trying to send notifications.
1 parent c5913373
......@@ -425,7 +425,7 @@ class ConnectionFilter(object):
filtered_count = 0
filter_list = []
filter_queue = weakref.WeakKeyDictionary()
lock = threading.Lock()
lock = threading.RLock()
_addPacket = Connection._addPacket
@contextmanager
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!