Open MarkRushB opened 6 months ago
format_task just for template, the args of task already be truncated. You can set argsrepr_maxsize
kwargsrepr_maxsize
with the Celery instance, for example:
app = Celery(main=..., backend=..., result_backend=...)
app.amqp.argsrepr_maxsize = 102400
app.amqp.kwargsrepr_maxsize = 102400
What is your question?
for my tasks, I have a large dict as payload, it is truncated by default, I just want to show it completely.
From document, I see we have a method called: format_task, I tried this method but looks like the args has already been truncated before passing into this method. So I cannot make anything here.
Any idea on this? Thanks folks