comparison celeryconfig.py @ 506:d5efb83590ef

fixed lock decorator bug which didn't release the lock after func execution and rewrote the pidlock a little with Ask Solem suggestions! added tredning languages stats
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 27 Sep 2010 02:17:03 +0200
parents 2256c78afe53
children d945c95ba4ac
comparison
equal deleted inserted replaced
505:5aba7adff196 506:d5efb83590ef
34 ## number of CPUs on your machine. If not set, the number of CPUs/cores 34 ## number of CPUs on your machine. If not set, the number of CPUs/cores
35 ## available will be used. 35 ## available will be used.
36 CELERYD_CONCURRENCY = 2 36 CELERYD_CONCURRENCY = 2
37 # CELERYD_LOG_FILE = "celeryd.log" 37 # CELERYD_LOG_FILE = "celeryd.log"
38 CELERYD_LOG_LEVEL = "DEBUG" 38 CELERYD_LOG_LEVEL = "DEBUG"
39 CELERYD_MAX_TASKS_PER_CHILD = 1 39 CELERYD_MAX_TASKS_PER_CHILD = 3
40 40
41 #Tasks will never be sent to the queue, but executed locally instead. 41 #Tasks will never be sent to the queue, but executed locally instead.
42 CELERY_ALWAYS_EAGER = False 42 CELERY_ALWAYS_EAGER = False
43 43
44 #=============================================================================== 44 #===============================================================================