Changeset 1041 for trunk/packages/sipb-xen-database/python
- Timestamp:
- Oct 4, 2008, 11:23:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.