- Timestamp:
- Oct 4, 2008, 11:23:10 PM (16 years ago)
- Location:
- trunk/packages/sipb-xen-database
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-database/debian/changelog
r1016 r1041 1 sipb-xen-database (10.28) unstable; urgency=low 2 3 * Re-establish the database connection if the server goes AWOL 4 5 -- Evan Broder <broder@mit.edu> Sat, 04 Oct 2008 23:19:59 -0400 6 1 7 sipb-xen-database (10.27) unstable; urgency=low 2 8 -
trunk/packages/sipb-xen-database/python/database/__init__.py
r991 r1041 5 5 def connect(uri = config.db.uri): 6 6 """ Connect to a given database URI""" 7 engine = sqlalchemy.create_engine(uri )7 engine = sqlalchemy.create_engine(uri, pool_timeout=5) 8 8 meta.bind = engine 9 9 session.configure(bind=engine)
Note: See TracChangeset
for help on using the changeset viewer.