I am trying to dynamically set hard/soft timeouts for my tasks: @celery.task(time_limit=5, soft_time_limit=3) def myjob(): time.sleep(10) print 'job done'
確定! 回上一頁