(task, uuid, request, body, content_type,
content_encoding, loads=loads_message, _loc=None,
hostname=None, **_)
| 755 | |
| 756 | |
| 757 | def fast_trace_task(task, uuid, request, body, content_type, |
| 758 | content_encoding, loads=loads_message, _loc=None, |
| 759 | hostname=None, **_): |
| 760 | _loc = _localized if not _loc else _loc |
| 761 | embed = None |
| 762 | tasks, accept, hostname = _loc |
| 763 | if content_type: |
| 764 | args, kwargs, embed = loads( |
| 765 | body, content_type, content_encoding, accept=accept, |
| 766 | ) |
| 767 | else: |
| 768 | args, kwargs, embed = body |
| 769 | request.update({ |
| 770 | 'args': args, 'kwargs': kwargs, |
| 771 | 'hostname': hostname, 'is_eager': False, |
| 772 | }, **embed or {}) |
| 773 | R, I, T, Rstr = tasks[task].__trace__( |
| 774 | uuid, args, kwargs, request, |
| 775 | ) |
| 776 | return (1, R, T) if I else (0, Rstr, T) |
| 777 | |
| 778 | |
| 779 | def report_internal_error(task, exc): |
searching dependent graphs…