Skip to content

Commit 6910c08

Browse files
committed
fix comment on use of sqlite for session db's.
1 parent 81086db commit 6910c08

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

roundup/backends/back_sqlite.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,11 @@ class Database(rdbms_common.Database):
111111
hyperdb.Multilink : lambda x: x, # used in journal marshalling, # noqa: E203
112112
}
113113

114-
# We're using DBM for managing session info and one-time keys:
115-
# For SQL database storage of this info we would need two concurrent
116-
# connections to the same database which SQLite doesn't support
114+
# We can use DBM, redis or SQLite for managing session info and
115+
# one-time keys:
116+
# For SQL database storage of this info we have to create separate
117+
# databases for Otk and Session because SQLite doesn't support
118+
# concurrent connections to the same database.
117119
def getSessionManager(self):
118120
if not self.Session:
119121
if self.config.SESSIONDB_BACKEND == "redis":

0 commit comments

Comments
 (0)