Mercurial > kallithea
diff rhodecode/config/environment.py @ 3232:99c093d1a142 beta
run waitress check on startup
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 26 Jan 2013 22:19:26 +0100 |
parents | 84414d73c233 |
children | 76ae40e514eb |
line wrap: on
line diff
--- a/rhodecode/config/environment.py Sat Jan 26 22:15:40 2013 +0100 +++ b/rhodecode/config/environment.py Sat Jan 26 22:19:26 2013 +0100 @@ -20,6 +20,7 @@ from rhodecode.lib.utils import repo2db_mapper, make_ui, set_rhodecode_config,\ load_rcextensions, check_git_version from rhodecode.lib.utils2 import engine_from_config, str2bool +from rhodecode.lib.db_manage import DbManage from rhodecode.model import init_model from rhodecode.model.scm import ScmModel @@ -88,7 +89,7 @@ #check git version check_git_version() - + DbManage.check_waitress() # MULTIPLE DB configs # Setup the SQLAlchemy database engine sa_engine_db1 = engine_from_config(config, 'sqlalchemy.db1.')