mirror of
https://github.com/postgres/pgweb.git
synced 2025-07-25 16:02:27 +00:00
Close db connection in docloader
To make Stefan happy...
This commit is contained in:
@ -115,6 +115,7 @@ if ver == "0":
|
||||
curs.execute("SELECT varnish_purge('^/docs/' || %(v)s || '/')", {'v': ver})
|
||||
|
||||
transaction.commit_unless_managed()
|
||||
connection.close()
|
||||
|
||||
if not quiet: print "Done (%i pages)." % pagecount
|
||||
|
||||
|
Reference in New Issue
Block a user