Show More
@@ -1,6 +1,6 b'' | |||||
1 | ################################################################################ |
|
1 | ################################################################################ | |
2 | ################################################################################ |
|
2 | ################################################################################ | |
3 |
# |
|
3 | # RhodeCode - Pylons environment configuration # | |
4 | # # |
|
4 | # # | |
5 | # The %(here)s variable will be replaced with the parent directory of this file# |
|
5 | # The %(here)s variable will be replaced with the parent directory of this file# | |
6 | ################################################################################ |
|
6 | ################################################################################ | |
@@ -10,7 +10,7 b' debug = true' | |||||
10 | ################################################################################ |
|
10 | ################################################################################ | |
11 | ## Uncomment and replace with the address which should receive ## |
|
11 | ## Uncomment and replace with the address which should receive ## | |
12 | ## any error reports after application crash ## |
|
12 | ## any error reports after application crash ## | |
13 |
## Additionally those settings will be used by |
|
13 | ## Additionally those settings will be used by RhodeCode mailing system ## | |
14 | ################################################################################ |
|
14 | ################################################################################ | |
15 | #email_to = admin@localhost |
|
15 | #email_to = admin@localhost | |
16 | #error_email_from = paste_error@localhost |
|
16 | #error_email_from = paste_error@localhost | |
@@ -42,10 +42,12 b' use = egg:rhodecode' | |||||
42 | full_stack = true |
|
42 | full_stack = true | |
43 | static_files = true |
|
43 | static_files = true | |
44 | lang=en |
|
44 | lang=en | |
45 |
cache_dir = |
|
45 | cache_dir = /tmp/data | |
46 | index_dir = /tmp/index |
|
46 | index_dir = /tmp/index | |
|
47 | app_instance_uuid = develop-test | |||
47 | cut_off_limit = 256000 |
|
48 | cut_off_limit = 256000 | |
48 | force_https = false |
|
49 | force_https = false | |
|
50 | commit_parse_limit = 25 | |||
49 |
|
51 | |||
50 | #################################### |
|
52 | #################################### | |
51 | ### CELERY CONFIG #### |
|
53 | ### CELERY CONFIG #### | |
@@ -69,7 +71,7 b' celery.result.serialier = json' | |||||
69 | celeryd.concurrency = 2 |
|
71 | celeryd.concurrency = 2 | |
70 | #celeryd.log.file = celeryd.log |
|
72 | #celeryd.log.file = celeryd.log | |
71 | celeryd.log.level = debug |
|
73 | celeryd.log.level = debug | |
72 |
celeryd.max.tasks.per.child = |
|
74 | celeryd.max.tasks.per.child = 1 | |
73 |
|
75 | |||
74 | #tasks will never be sent to the queue, but executed locally instead. |
|
76 | #tasks will never be sent to the queue, but executed locally instead. | |
75 | celery.always.eager = false |
|
77 | celery.always.eager = false | |
@@ -77,8 +79,8 b' celery.always.eager = false' | |||||
77 | #################################### |
|
79 | #################################### | |
78 | ### BEAKER CACHE #### |
|
80 | ### BEAKER CACHE #### | |
79 | #################################### |
|
81 | #################################### | |
80 |
beaker.cache.data_dir=/ |
|
82 | beaker.cache.data_dir=/tmp/data/cache/data | |
81 |
beaker.cache.lock_dir=/ |
|
83 | beaker.cache.lock_dir=/tmp/data/cache/lock | |
82 | beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long |
|
84 | beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long | |
83 |
|
85 | |||
84 | beaker.cache.super_short_term.type=memory |
|
86 | beaker.cache.super_short_term.type=memory | |
@@ -92,7 +94,7 b' beaker.cache.long_term.expire=36000' | |||||
92 |
|
94 | |||
93 |
|
95 | |||
94 | beaker.cache.sql_cache_short.type=memory |
|
96 | beaker.cache.sql_cache_short.type=memory | |
95 |
beaker.cache.sql_cache_short.expire= |
|
97 | beaker.cache.sql_cache_short.expire=10 | |
96 |
|
98 | |||
97 | beaker.cache.sql_cache_med.type=memory |
|
99 | beaker.cache.sql_cache_med.type=memory | |
98 | beaker.cache.sql_cache_med.expire=360 |
|
100 | beaker.cache.sql_cache_med.expire=360 | |
@@ -147,7 +149,7 b' sqlalchemy.convert_unicode = true' | |||||
147 | ### LOGGING CONFIGURATION #### |
|
149 | ### LOGGING CONFIGURATION #### | |
148 | ################################ |
|
150 | ################################ | |
149 | [loggers] |
|
151 | [loggers] | |
150 | keys = root, routes, rhodecode, sqlalchemy |
|
152 | keys = root, routes, rhodecode, sqlalchemy,beaker,templates | |
151 |
|
153 | |||
152 | [handlers] |
|
154 | [handlers] | |
153 | keys = console |
|
155 | keys = console |
General Comments 0
You need to be logged in to leave comments.
Login now