Show More
@@ -79,7 +79,7 b' asyncore_use_poll = true' | |||||
79 | #proc_name = rhodecode |
|
79 | #proc_name = rhodecode | |
80 | ## type of worker class, one of sync, gevent |
|
80 | ## type of worker class, one of sync, gevent | |
81 | ## recommended for bigger setup is using of of other than sync one |
|
81 | ## recommended for bigger setup is using of of other than sync one | |
82 |
#worker_class = |
|
82 | #worker_class = gevent | |
83 | ## The maximum number of simultaneous clients. Valid only for Gevent |
|
83 | ## The maximum number of simultaneous clients. Valid only for Gevent | |
84 | #worker_connections = 10 |
|
84 | #worker_connections = 10 | |
85 | ## max number of requests that worker will handle before being gracefully |
|
85 | ## max number of requests that worker will handle before being gracefully | |
@@ -295,12 +295,17 b' labs_settings_active = true' | |||||
295 | #################################### |
|
295 | #################################### | |
296 | ### CELERY CONFIG #### |
|
296 | ### CELERY CONFIG #### | |
297 | #################################### |
|
297 | #################################### | |
|
298 | ## run: /path/to/celery worker \ | |||
|
299 | ## -E --beat --app rhodecode.lib.celerylib.loader \ | |||
|
300 | ## --scheduler rhodecode.lib.celerylib.scheduler.RcScheduler \ | |||
|
301 | ## --loglevel DEBUG --ini /path/to/rhodecode.ini | |||
|
302 | ||||
298 | use_celery = false |
|
303 | use_celery = false | |
299 |
|
304 | |||
300 | # connection url to the message broker (default rabbitmq) |
|
305 | ## connection url to the message broker (default rabbitmq) | |
301 | celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost |
|
306 | celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost | |
302 |
|
307 | |||
303 | # maximum tasks to execute before worker restart |
|
308 | ## maximum tasks to execute before worker restart | |
304 | celery.max_tasks_per_child = 100 |
|
309 | celery.max_tasks_per_child = 100 | |
305 |
|
310 | |||
306 | ## tasks will never be sent to the queue, but executed locally instead. |
|
311 | ## tasks will never be sent to the queue, but executed locally instead. | |
@@ -554,7 +559,7 b' vcs.hooks.protocol = http' | |||||
554 |
|
559 | |||
555 | vcs.server.log_level = debug |
|
560 | vcs.server.log_level = debug | |
556 | ## Start VCSServer with this instance as a subprocess, usefull for development |
|
561 | ## Start VCSServer with this instance as a subprocess, usefull for development | |
557 |
vcs.start_server = |
|
562 | vcs.start_server = false | |
558 |
|
563 | |||
559 | ## List of enabled VCS backends, available options are: |
|
564 | ## List of enabled VCS backends, available options are: | |
560 | ## `hg` - mercurial |
|
565 | ## `hg` - mercurial |
@@ -79,7 +79,7 b' workers = 2' | |||||
79 | proc_name = rhodecode |
|
79 | proc_name = rhodecode | |
80 | ## type of worker class, one of sync, gevent |
|
80 | ## type of worker class, one of sync, gevent | |
81 | ## recommended for bigger setup is using of of other than sync one |
|
81 | ## recommended for bigger setup is using of of other than sync one | |
82 |
worker_class = |
|
82 | worker_class = gevent | |
83 | ## The maximum number of simultaneous clients. Valid only for Gevent |
|
83 | ## The maximum number of simultaneous clients. Valid only for Gevent | |
84 | #worker_connections = 10 |
|
84 | #worker_connections = 10 | |
85 | ## max number of requests that worker will handle before being gracefully |
|
85 | ## max number of requests that worker will handle before being gracefully | |
@@ -270,12 +270,17 b' labs_settings_active = true' | |||||
270 | #################################### |
|
270 | #################################### | |
271 | ### CELERY CONFIG #### |
|
271 | ### CELERY CONFIG #### | |
272 | #################################### |
|
272 | #################################### | |
|
273 | ## run: /path/to/celery worker \ | |||
|
274 | ## -E --beat --app rhodecode.lib.celerylib.loader \ | |||
|
275 | ## --scheduler rhodecode.lib.celerylib.scheduler.RcScheduler \ | |||
|
276 | ## --loglevel DEBUG --ini /path/to/rhodecode.ini | |||
|
277 | ||||
273 | use_celery = false |
|
278 | use_celery = false | |
274 |
|
279 | |||
275 | # connection url to the message broker (default rabbitmq) |
|
280 | ## connection url to the message broker (default rabbitmq) | |
276 | celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost |
|
281 | celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost | |
277 |
|
282 | |||
278 | # maximum tasks to execute before worker restart |
|
283 | ## maximum tasks to execute before worker restart | |
279 | celery.max_tasks_per_child = 100 |
|
284 | celery.max_tasks_per_child = 100 | |
280 |
|
285 | |||
281 | ## tasks will never be sent to the queue, but executed locally instead. |
|
286 | ## tasks will never be sent to the queue, but executed locally instead. |
General Comments 0
You need to be logged in to leave comments.
Login now