webapp: open cursors less often
authorHelmut Grohne <helmut@subdivi.de>
Wed, 11 Sep 2013 06:35:41 +0000 (08:35 +0200)
committerHelmut Grohne <helmut@subdivi.de>
Wed, 11 Sep 2013 06:35:41 +0000 (08:35 +0200)
commit786c4f93ea318a3c22479f80531594435fb036c3
treef6522faeb72908c5e8cc61c1ddc2d6225dfb918e
parentca65a78a9ace0aeb2565df0da171727c04c33970
webapp: open cursors less often

On the main instance opening cursors equals initiating a connection.
Unfortunately sqlite3.Connection.close does not close filedescriptors.
So just open less cursors to leak filedescriptors less often.
webapp.py