Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
marcink
- Thu, 17 May 2012 12:27:51
Show More
docs/changelog.rst
0
+1
0
@@
-21,6
+21,7
b' fixes'
21
21
- fixed __future__ import error on rcextensions
22
22
- made simplejson required lib for speedup on JSON encoding
23
23
- fixes #449 bad regex could get more than revisions from parsing history
24
- don't clear DB session when CELERY_EAGER is turned ON
24
25
25
26
1.3.5 (**2012-05-10**)
26
27
----------------------
rhodecode/__init__.py
0
+1
0
@@
-89,6
+89,7
b' BACKENDS = {'
89
89
}
90
90
91
91
CELERY_ON = False
92
CELERY_EAGER = False
92
93
93
94
# link to config for pylons
94
95
CONFIG = {}
rhodecode/config/environment.py
0
+1
0
@@
-47,6
+47,7
b' def load_environment(global_conf, app_co'
47
47
48
48
# store some globals into rhodecode
49
49
rhodecode . CELERY_ON = str2bool ( config [ 'app_conf' ] . get ( 'use_celery' ))
50
rhodecode . CELERY_EAGER = str2bool ( config [ 'app_conf' ] . get ( 'celery.always.eager' ))
50
51
51
52
config [ 'routes.map' ] = make_map ( config )
52
53
config [ 'pylons.app_globals' ] = app_globals . Globals ( config )
rhodecode/lib/celerylib/__init__.py
0
+2
-2
@@
-35,7
+35,7
b' from hashlib import md5'
35
35
from decorator import decorator
36
36
37
37
from rhodecode.lib.vcs.utils.lazy import LazyProperty
38
from rhodecode import CELERY_ON
38
from rhodecode import CELERY_ON , CELERY_EAGER
39
39
from rhodecode.lib.utils2 import str2bool , safe_str
40
40
from rhodecode.lib.pidlock import DaemonLock , LockHeld
41
41
from rhodecode.model import init_model
@@
-122,7
+122,7
b' def dbsession(func):'
122
122
ret = func ( * fargs , ** fkwargs )
123
123
return ret
124
124
finally :
125
if CELERY_ON :
125
if CELERY_ON and CELERY_EAGER is False :
126
126
meta . Session . remove ()
127
127
128
128
return decorator ( __wrapper , func )
rhodecode/lib/celerylib/tasks.py
0
+1
-1
@@
-39,7
+39,7
b' from pylons.i18n.translation import _'
39
39
40
40
from rhodecode.lib.vcs import get_backend
41
41
42
from rhodecode import CELERY_ON
42
from rhodecode import CELERY_ON , CELERY_EAGER
43
43
from rhodecode.lib.utils2 import safe_str
44
44
from rhodecode.lib.celerylib import run_task , locked_task , dbsession , \
45
45
str2bool , __get_lockkey , LockHeld , DaemonLock , get_session
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages