diff options
author | drebs <drebs@riseup.net> | 2017-10-23 10:47:52 -0200 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2017-10-23 10:47:52 -0200 |
commit | 0312dd53f4e485034799bff8d66319b4af593f49 (patch) | |
tree | 09247b52e6fad084834080ce3b2d9501b8281da9 /src/leap/soledad/server | |
parent | d499358f0aae5e547de054b70786b726c5be65bb (diff) |
[bug] revert unintentional changes from last commit
Diffstat (limited to 'src/leap/soledad/server')
-rw-r--r-- | src/leap/soledad/server/_wsgi.py | 3 | ||||
-rw-r--r-- | src/leap/soledad/server/entrypoints.py | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/leap/soledad/server/_wsgi.py b/src/leap/soledad/server/_wsgi.py index 510cb7b9..f1b0018d 100644 --- a/src/leap/soledad/server/_wsgi.py +++ b/src/leap/soledad/server/_wsgi.py @@ -33,7 +33,8 @@ __all__ = ['init_couch_state', 'get_sync_resource'] def _get_couch_state(conf): - state = CouchServerState(conf['couch_url'], create_cmd=conf['create_cmd']) + state = CouchServerState(conf['couch_url'], create_cmd=conf['create_cmd'], + check_schema_versions=True) SoledadBackend.BATCH_SUPPORT = conf.get('batching', False) return state diff --git a/src/leap/soledad/server/entrypoints.py b/src/leap/soledad/server/entrypoints.py index 9bccbcf4..7d18ca58 100644 --- a/src/leap/soledad/server/entrypoints.py +++ b/src/leap/soledad/server/entrypoints.py @@ -26,7 +26,6 @@ from twisted.internet import reactor from twisted.python import threadpool from twisted.logger import Logger -from ..common.couch.state import check_schema_versions from .auth import localPortal, publicPortal from .session import SoledadSession from ._config import get_config @@ -74,5 +73,4 @@ def check_conf(): reactor.callWhenRunning(check_conf) -reactor.callWhenRunning(check_schema_versions, conf['couch_url']) reactor.callWhenRunning(init_couch_state, conf) |