summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/leap/soledad/server/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/leap/soledad/server/sync.py b/server/src/leap/soledad/server/sync.py
index e4fd1260..619be565 100644
--- a/server/src/leap/soledad/server/sync.py
+++ b/server/src/leap/soledad/server/sync.py
@@ -192,7 +192,7 @@ class SyncResource(http_app.SyncResource):
db = cache['instance']
else:
db = self.state.open_database(self.dbname)
- db._cache = cache
+ db.init_caching(cache)
cache['instance'] = db
# validate the information the client has about server replica
db.validate_gen_and_trans_id(