Are there any good examples of CELERY_QUEUES and CELERY_ROUTES in a config_from_dict() kind of config. I seem to recall that it can be done using only primitives in the config, without having to instantiate Queue object within the config dict, for example, but I can't find anything recent, and the old stuff doesn't seem right anymore.
sorry, not config_from_dict, but rather celery.config.update()
bwreilly has quit
This is a config_from_object kind of setup, but the contained dicts don't actually instantiate kombu objects or anything. That's what I want to do, but these examples don't match the current docs.
Well, it still seems to work. Can't find anything on this simpler usage in the official docs. Maybe it's considered too limiting for reason I haven't run into yet. I dunno.
knite has quit
jergerber has quit
knite joined the channel
italorossi has quit
italorossi joined the channel
italorossi has quit
ok, I think I got that all figured out
New question: is there a convenient way, within a task definition, to dispatch further subtasks to the same queue/routing_key as the current task, or do I just need to get it from context.delivery_info myself and specify it in my apply_async? Background: I have some common tasks that are shared between two high-level jobs that need to be prioritized separately (so neither can starve the other), call the jobs A and B. When that shared task is running
as part of A, I need it to get sent to A's queue, but ditto for B. I'd rather not hard-code queue names in my code. Right now, all of those details can be specified in the config, and I don't want to break that by hard-coding things.
Nizumzen has quit
k_sze[work] joined the channel
becks__ joined the channel
becks__ has quit
bwreilly joined the channel
bwreilly has quit
andrewwatts joined the channel
knite has quit
celhead joined the channel
andrewwatts has quit
More general question: In the context of celery, when should I use a topic exchange vs. a direct exchange?
becks__ joined the channel
ionelmc has quit
noisewaterphd joined the channel
knite joined the channel
Nizumzen joined the channel
becks__ has quit
becks__ joined the channel
becks__ has quit
becks__ joined the channel
rcleere joined the channel
becks__ has quit
Frosh_ joined the channel
celhead has quit
knite has quit
anuvrat has quit
becks__ joined the channel
becks__ has quit
noisewaterphd has quit
noisewaterphd joined the channel
knite joined the channel
celhead joined the channel
scipy53 has quit
andrewwatts joined the channel
fayaz joined the channel
celhead has quit
steeve has quit
samstav has quit
anuvrat joined the channel
knite has quit
bkuberek has quit
lemony joined the channel
knite joined the channel
bkuberek joined the channel
lemony has quit
knite has quit
knite joined the channel
dega_ has quit
anuvrat has quit
noisewaterphd has quit
citizen-stig_ joined the channel
anuvrat joined the channel
anuvrat has quit
dega joined the channel
anuvrat joined the channel
bwreilly joined the channel
atomekk joined the channel
djapo joined the channel
fayaz has quit
domino14 joined the channel
Nizumzen has quit
domino14_ joined the channel
domino14 has quit
bwreilly has quit
ibeex joined the channel
celhead joined the channel
surabujin joined the channel
knite has quit
negval joined the channel
knite joined the channel
bkuberek has quit
frgtn joined the channel
anuvrat has quit
Schnouki joined the channel
celhead has quit
celhead1 joined the channel
Striki joined the channel
frgtn has quit
anuvrat joined the channel
jalan_work has quit
jalan_work joined the channel
bkuberek joined the channel
bkuberek has quit
Ergo joined the channel
andrewwatts has quit
knite has quit
domino14_ has quit
Frosh_ has quit
lemony joined the channel
frgtn joined the channel
anuvrat has quit
bassdread joined the channel
anuvrat joined the channel
cruise has left the channel
the_rat joined the channel
NBhosting joined the channel
gudmundur_ joined the channel
lemony has quit
dgel joined the channel
theflow joined the channel
gudmundur_ is now known as gudmundur
dgel has quit
ionelmc joined the channel
emre joined the channel
emre
hi all
it seems CELERY_ACKS_LATE = True doesnt work for me
I use rabbitmq as backend
whenever a worker raises an exception, it gets removed from the related queue
how can I prevent this?
dgel joined the channel
dgel has quit
johnraz joined the channel
bkuberek joined the channel
bkuberek has quit
johnraz has quit
k_sze[work] has quit
frank__ joined the channel
frgtn
Hey is it possible to change priority of existing tasks already in the queue?
ionelmc
emre: use retries
acks_late is meant for situations where something much worse happens - eg, process crashes with segfault, or oom killer does its nasty business