Commit fd8e334f authored by Jim Fulton's avatar Jim Fulton

Fixed stipid race

parent b67cfa10
...@@ -258,6 +258,8 @@ class ClientStorage(ZODB.ConflictResolution.ConflictResolvingStorage): ...@@ -258,6 +258,8 @@ class ClientStorage(ZODB.ConflictResolution.ConflictResolvingStorage):
blob_cache_size * blob_cache_size_check // 100) blob_cache_size * blob_cache_size_check // 100)
self._check_blob_size() self._check_blob_size()
self.server_sync = server_sync
self._server = _client_factory( self._server = _client_factory(
addr, self, cache, storage, addr, self, cache, storage,
ZEO.asyncio.client.Fallback if read_only_fallback else read_only, ZEO.asyncio.client.Fallback if read_only_fallback else read_only,
...@@ -272,8 +274,6 @@ class ClientStorage(ZODB.ConflictResolution.ConflictResolvingStorage): ...@@ -272,8 +274,6 @@ class ClientStorage(ZODB.ConflictResolution.ConflictResolvingStorage):
self._commit_lock = threading.Lock() self._commit_lock = threading.Lock()
self.server_sync = server_sync
if wait: if wait:
try: try:
self._wait() self._wait()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment