Mauro Rocco

Luxembourg City, Luxembourg

toforge.com

Age: 27

Python and Django lover. Android user. Google services dependent

May
15
awarded Enlightened
May
15
awarded Nice Answer
Mar
7
comment Crazy behaviour when trying to import python module
If you got your answer in comments, just ask the author to create an answer out of it. Otherwise if you didn't solved the problem keep it open. Maybe answering the question asked in comments can help you to solve the problem ;-).
Mar
6
awarded Editor
Mar
6
revised Making only one task run at a time in celerybeat
deleted 53 characters in body
Mar
6
comment Making only one task run at a time in celerybeat
@nitwit you are completely right. In my answer I say "after the last execution" I don't say after the finished execution. :-) Is also true that I'm wrong to say "this shouldn't happen" I will edit it the answer accordingly. Thanks
Mar
6
awarded Caucus
Jan
19
answered Celery - unable to start worker
Jan
19
comment In celery, how to ensure tasks are retried when worker crashes
Which celery version you are using ? Look a this thread it might help you groups.google.com/forum/#!topic/celery-users/eVl6CHHJ0Jc
Aug
2
awarded Yearling
Jun
8
awarded Caucus
May
7
comment How to enable rotation of log files for celeryd with djcelery?
Weird! You tried to disable the autoreload and see if the logrotate works? It's possible that some reload code functionality create problems,
Apr
26
comment How to enable rotation of log files for celeryd with djcelery?
You must use celery 2.2.5 or higher, there the log-rotate should work without problems. docs.celeryproject.org/en/latest/changelog.html#v225-news
Mar
2
awarded Revival
Nov
4
comment invoke celery task from tornado
Another solution is to change approach. Why you don't pass you handler function as normal argument? In this way you can override the method of celery task class after_return and here check if the task is completed and with which status, in this way you can call here you handler function. ask.github.com/celery/userguide/…
Nov
4
comment invoke celery task from tornado
You can't pass argument to a an handler because this is suppose to be cross platform. The solution is to set the the result object of the celery task in a global variable and than access it from the handler. global CELERY_RESULT CELERY_RESULT = TestTask.delay() Than you set the handler for the signal and you launch a timer of five seconds or more. After that in the handler you have only to access the global var and call on it get_Result.
Nov
3
answered invoke celery task from tornado
Oct
25
comment reliable way to deploy new code into a production celery cluster without pausing service
Wear something cool makes it more elegant :-). There is no other ways for do that.
Oct
15
answered Python Celery Save Results in Database Asynchronously
Oct
15
answered reliable way to deploy new code into a production celery cluster without pausing service
1 2 3 4