diff options
author | drebs <drebs@riseup.net> | 2017-11-13 22:54:06 -0200 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2017-11-14 19:01:15 -0200 |
commit | 7bda8b8396756eeaf6635a0183372a9962f51c53 (patch) | |
tree | bbfa0b7c3e776afbf08c44b3d1da7e957d4c76f2 /src/leap/soledad/server/server.tac | |
parent | 201ef7a9b979f8c8efaedbe542c631944d8956f4 (diff) |
[bug] remove unneeded delayed initialization of couch state
Diffstat (limited to 'src/leap/soledad/server/server.tac')
-rw-r--r-- | src/leap/soledad/server/server.tac | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/leap/soledad/server/server.tac b/src/leap/soledad/server/server.tac index f6f784bc..3737e7df 100644 --- a/src/leap/soledad/server/server.tac +++ b/src/leap/soledad/server/server.tac @@ -23,8 +23,7 @@ from twisted.web import server from leap.soledad.common.couch.check import check_schema_versions from leap.soledad.server import entrypoints -from leap.soledad.server._wsgi import init_couch_state -from leap.soledad.server._config import get_config +from leap.soledad.server import get_config logger = Logger(__name__) @@ -113,7 +112,6 @@ def _run(application): _check_env(local_port, public_port) _check_conf(conf) d = check_schema_versions(conf['couch_url']) - d.addCallback(lambda _: init_couch_state(conf)) d.addCallback(lambda _: _create_services(local_port, public_port, application)) |