summaryrefslogtreecommitdiff
path: root/server/src/leap/soledad
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2017-01-26 19:18:15 -0200
committerKali Kaneko <kali@leap.se>2017-02-09 17:41:53 +0100
commit1f1a9847117d23a767e99fe80484baf232375d36 (patch)
tree17bb073965c0d9cb5c615644fa31e817d8d81412 /server/src/leap/soledad
parent7432b72471fa3de03d13b9d35f6004d14deae63d (diff)
[refactor] allow passing threadpool pool for server sync resource
Diffstat (limited to 'server/src/leap/soledad')
-rw-r--r--server/src/leap/soledad/server/_resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/leap/soledad/server/_resource.py b/server/src/leap/soledad/server/_resource.py
index 1c4edade..046e20d1 100644
--- a/server/src/leap/soledad/server/_resource.py
+++ b/server/src/leap/soledad/server/_resource.py
@@ -36,10 +36,10 @@ class SoledadResource(Resource):
"""
def __init__(self, sync_pool=None):
- sync_resource = get_sync_resource(sync_pool)
conf = get_config()
self._blobs_enabled = conf['soledad-server']['blobs']
server_info = ServerInfo(self._blobs_enabled)
+ sync_resource = get_sync_resource(sync_pool)
self.children = {
'': server_info,
'sync': sync_resource,