summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2014-03-12 19:41:09 -0300
committerdrebs <drebs@leap.se>2014-03-12 19:44:06 -0300
commit1a5f426b70ea690b893438d21eb404474126280b (patch)
tree408393d9d37de549c0b012200a5ee4ade3ca47e4
parentc332b78995334a8c49c788e2fd3fa15eb8936ca8 (diff)
Do not ensure shared database upon Soledad Server start (#5302).
-rw-r--r--server/changes/feature_5302_do-not-ensure-shared-database2
-rw-r--r--server/src/leap/soledad/server/__init__.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/changes/feature_5302_do-not-ensure-shared-database b/server/changes/feature_5302_do-not-ensure-shared-database
new file mode 100644
index 00000000..4ee70b9a
--- /dev/null
+++ b/server/changes/feature_5302_do-not-ensure-shared-database
@@ -0,0 +1,2 @@
+ o Do not try to create the shared database when running the Soledad Server
+ application (#5302).
diff --git a/server/src/leap/soledad/server/__init__.py b/server/src/leap/soledad/server/__init__.py
index 84f6a849..c170f230 100644
--- a/server/src/leap/soledad/server/__init__.py
+++ b/server/src/leap/soledad/server/__init__.py
@@ -144,8 +144,6 @@ class SoledadApp(http_app.HTTPApp):
@return: HTTP application results.
@rtype: list
"""
- # ensure the shared database exists
- self.state.ensure_database(self.SHARED_DB_NAME)
return http_app.HTTPApp.__call__(self, environ, start_response)