From 4726d8b1c0885305017ec3b5066e3bd0a46953c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl>
Date: Thu, 29 Jul 2021 02:37:12 +0200
Subject: [PATCH] v2.17.16

---
 satella/coding/concurrent/monitor.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/satella/coding/concurrent/monitor.py b/satella/coding/concurrent/monitor.py
index c889b391..85fcafad 100644
--- a/satella/coding/concurrent/monitor.py
+++ b/satella/coding/concurrent/monitor.py
@@ -248,7 +248,7 @@ class MonitorSet(set, Monitor):
         :param item: item to insert
         :return: whether the item was successfully inserted
         """
-        with Monitor.synchronize_on(self):
+        with Monitor.acquire(self):
             if item in self:
                 return False
             self.add(item)
-- 
GitLab