Message2233
we have had some problems with the MySQL backend in
roundup 1.1, where we'd eventually run out of
connections. The attached patch fixed it for us.
2006-03-03 Mark Mitchell <mark@codesourcery.com>
* roundup/cgi/client.py (Client.determine_user):
Commit changes to
the database after updating the timestamp.
*************** class Client:
*** 465,474 ****
--- 465,475 ----
# get the user from the session
try:
# update the lifetime datestamp
sessions.updateTimestamp(self.session)
user = sessions.get(self.session, 'user')
+ self.db.commit()
except KeyError:
# not valid, ignore id
pass
# if no user name set by http authorization
or session cookie
|
|
Date |
User |
Action |
Args |
2009-02-03 14:21:44 | admin | link | issue1463359 messages |
2009-02-03 14:21:44 | admin | create | |
|