Relative Content

Tag Archive for pythoncelerycelery-task

autodiscover_tasks with celery – python

I am trying to figure out good way to register the tasks in Celery. I am using pure python and celery. I don’t want to use the include or register method. Instead of that I created the separate directory for tasks with below structure.

Using Celery with websockets

Hi there I was using celery on windows with gevent and I created a task of establishing connection to a web socket. When the task is executed the socket establishes the connection but when i wanted to kill the task it is not letting me do that. Can you tell me a way in which i could stop the socket ?

Can’t set up soft time limits in celery

I am learning celery and facing some problem. I am trying to set up celery task, which is called by user from telegram bot. I am trying to set up task_soft_time_limit, but it doesn’t work.
celery_app.py: