Mercurial > kallithea
diff rhodecode/config/environment.py @ 2299:e2dbdaf13562 beta
Don't clear dbsessions when celery_eager is turned on
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 17 May 2012 14:26:43 +0200 |
parents | 8ecfed1d8f8b |
children | edfff9f37916 380d6d86da1f |
line wrap: on
line diff
--- a/rhodecode/config/environment.py Thu May 17 14:03:35 2012 +0200 +++ b/rhodecode/config/environment.py Thu May 17 14:26:43 2012 +0200 @@ -47,6 +47,7 @@ # store some globals into rhodecode rhodecode.CELERY_ON = str2bool(config['app_conf'].get('use_celery')) + rhodecode.CELERY_EAGER = str2bool(config['app_conf'].get('celery.always.eager')) config['routes.map'] = make_map(config) config['pylons.app_globals'] = app_globals.Globals(config)