[library-web] temporarily disable sqlite connection reuse
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] temporarily disable sqlite connection reuse
- Date: Wed, 6 Apr 2011 12:01:39 +0000 (UTC)
commit e7376fab5587478c12157b5c2a97f09fa3802642
Author: Frédéric Péters <fpeters 0d be>
Date: Wed Apr 6 17:31:18 2011 +0530
temporarily disable sqlite connection reuse
web/api.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/web/api.py b/web/api.py
index b9bb1f6..2ce1c8f 100644
--- a/web/api.py
+++ b/web/api.py
@@ -31,7 +31,7 @@ sqlcon = None
def get_sqlconn():
global sqlcon
- if sqlcon:
+ if sqlcon and False:
return sqlcon
config = Config(filename=settings.LIBRARY_WEB_CONFIG_FILE)
sqlcon = sqlite.connect(config.symbols_sqlite_filepath, isolation_level=None)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]