Disable transaction cache for database list
issue6216 review31071002
This commit is contained in:
1 parent
d8e7a041c5
commit
5278085a98
1 file changed
+2
-1
@@ -100,7 +100,8 @@ def db_exist(request, database_name):
|
||||
def db_list(*args):
|
||||
if not config.getboolean('database', 'list'):
|
||||
raise Exception('AccessDenied')
|
||||
with Transaction().start(None, 0, close=True) as transaction:
|
||||
with Transaction().start(
|
||||
None, 0, close=True, _nocache=True) as transaction:
|
||||
return transaction.database.list()
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user