comparison test.ini @ 776:f6c613fba757 beta

Celery is configured by the .ini files and run from paster now removed celeryconfig, added homebrew celery-pylons, added paster celeryd command, fixed tasks to use pylons configs, sqlalchemy sessions
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 27 Nov 2010 01:27:24 +0100
parents 8acbfa837180
children 30ad41c76fae
comparison
equal deleted inserted replaced
775:aaf2fc59a39a 776:f6c613fba757
44 lang=en 44 lang=en
45 cache_dir = %(here)s/data 45 cache_dir = %(here)s/data
46 index_dir = /tmp/index 46 index_dir = /tmp/index
47 47
48 #################################### 48 ####################################
49 ### CELERY CONFIG ####
50 ####################################
51 use_celery = false
52 broker.host = localhost
53 broker.vhost = rabbitmqhost
54 broker.port = 5672
55 broker.user = rabbitmq
56 broker.password = qweqwe
57
58 celery.imports = rhodecode.lib.celerylib.tasks
59
60 celery.result.backend = amqp
61 celery.result.dburi = amqp://
62 celery.result.serialier = json
63
64 #celery.send.task.error.emails = true
65 #celery.amqp.task.result.expires = 18000
66
67 celeryd.concurrency = 2
68 #celeryd.log.file = celeryd.log
69 celeryd.log.level = debug
70 celeryd.max.tasks.per.child = 3
71
72 #tasks will never be sent to the queue, but executed locally instead.
73 celery.always.eager = false
74
75 ####################################
49 ### BEAKER CACHE #### 76 ### BEAKER CACHE ####
50 #################################### 77 ####################################
51 beaker.cache.data_dir=/%(here)s/data/cache/data 78 beaker.cache.data_dir=/%(here)s/data/cache/data
52 beaker.cache.lock_dir=/%(here)s/data/cache/lock 79 beaker.cache.lock_dir=/%(here)s/data/cache/lock
53 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long 80 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long