I have a Task written like this:
@async_runner.app.task(name='task_name')
def async_task():
async_runner.send_task(
task_fn=task_processing,
queue='queue_name',
options=async_runner.DEFAULT_RETRY_POLICY
)
My default task time limit is 30 mins. I want to increase the time limit for this certain task to 1 hour.
How can I set a different time limit for this one task?
I have already looked at this but my question is specific to Flask and how Celery is configured in Flask. Thanks.