Task with explicitly declared time limits — verifies request fields are set.
(self)
| 676 | |
| 677 | @shared_task(bind=True, time_limit=60, soft_time_limit=45) |
| 678 | def task_with_declared_time_limits(self): |
| 679 | """Task with explicitly declared time limits — verifies request fields are set.""" |
| 680 | return { |
| 681 | 'time_limit': self.request.time_limit, |
| 682 | 'soft_time_limit': self.request.soft_time_limit, |
| 683 | } |
nothing calls this directly
no outgoing calls
no test coverage detected