mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #7999 from natefoo/pgcleanup-work-mem-fix
[19.01] Fix variable name for work mem in pgcleanup.py
This commit is contained in:
@@ -991,7 +991,7 @@ class Cleanup(object):
|
||||
# TODO: is this per session or cursor?
|
||||
if self.args.work_mem is not None:
|
||||
log.info('Setting work_mem to %s' % self.args.work_mem)
|
||||
self._conn.cursor().execute('SET work_mem TO %s', (self.args.work_mem,))
|
||||
self.__conn.cursor().execute('SET work_mem TO %s', (self.args.work_mem,))
|
||||
return self.__conn
|
||||
|
||||
def __parse_args(self):
|
||||
|
||||
Reference in New Issue
Block a user