config: update .ini file to latest installer defaults.

This commit is contained in:
Marcin Kuzminski 2018-01-30 13:57:48 +01:00
parent ada388ee9a
commit c0a1cd695a
2 changed files with 17 additions and 7 deletions

View file

@ -79,7 +79,7 @@ asyncore_use_poll = true
#proc_name = rhodecode
## type of worker class, one of sync, gevent
## recommended for bigger setup is using of of other than sync one
#worker_class = sync
#worker_class = gevent
## The maximum number of simultaneous clients. Valid only for Gevent
#worker_connections = 10
## max number of requests that worker will handle before being gracefully
@ -295,12 +295,17 @@ labs_settings_active = true
####################################
### CELERY CONFIG ####
####################################
## run: /path/to/celery worker \
## -E --beat --app rhodecode.lib.celerylib.loader \
## --scheduler rhodecode.lib.celerylib.scheduler.RcScheduler \
## --loglevel DEBUG --ini /path/to/rhodecode.ini
use_celery = false
# connection url to the message broker (default rabbitmq)
## connection url to the message broker (default rabbitmq)
celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost
# maximum tasks to execute before worker restart
## maximum tasks to execute before worker restart
celery.max_tasks_per_child = 100
## tasks will never be sent to the queue, but executed locally instead.
@ -554,7 +559,7 @@ vcs.hooks.protocol = http
vcs.server.log_level = debug
## Start VCSServer with this instance as a subprocess, usefull for development
vcs.start_server = true
vcs.start_server = false
## List of enabled VCS backends, available options are:
## `hg` - mercurial

View file

@ -79,7 +79,7 @@ workers = 2
proc_name = rhodecode
## type of worker class, one of sync, gevent
## recommended for bigger setup is using of of other than sync one
worker_class = sync
worker_class = gevent
## The maximum number of simultaneous clients. Valid only for Gevent
#worker_connections = 10
## max number of requests that worker will handle before being gracefully
@ -270,12 +270,17 @@ labs_settings_active = true
####################################
### CELERY CONFIG ####
####################################
## run: /path/to/celery worker \
## -E --beat --app rhodecode.lib.celerylib.loader \
## --scheduler rhodecode.lib.celerylib.scheduler.RcScheduler \
## --loglevel DEBUG --ini /path/to/rhodecode.ini
use_celery = false
# connection url to the message broker (default rabbitmq)
## connection url to the message broker (default rabbitmq)
celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost
# maximum tasks to execute before worker restart
## maximum tasks to execute before worker restart
celery.max_tasks_per_child = 100
## tasks will never be sent to the queue, but executed locally instead.