diff options
author | drebs <drebs@leap.se> | 2017-01-26 19:18:15 -0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-02-09 17:41:53 +0100 |
commit | 1f1a9847117d23a767e99fe80484baf232375d36 (patch) | |
tree | 17bb073965c0d9cb5c615644fa31e817d8d81412 /server/src | |
parent | 7432b72471fa3de03d13b9d35f6004d14deae63d (diff) |
[refactor] allow passing threadpool pool for server sync resource
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/leap/soledad/server/_resource.py | 2 |
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, |