You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if there is a possibility to alter the payload of a task once it is queued.
I'm searching for a way to store the progress of a task while handling it, so that when my program crashes and the current task gets pushed back to the queue the task's payload contains some information about what part of the task has already been done. If this works I could check the payload when handling the task again and can proceed processing at the point it has been before the programm crashed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey!
I'm wondering if there is a possibility to alter the payload of a task once it is queued.
I'm searching for a way to store the progress of a task while handling it, so that when my program crashes and the current task gets pushed back to the queue the task's payload contains some information about what part of the task has already been done. If this works I could check the payload when handling the task again and can proceed processing at the point it has been before the programm crashed.
Any ideas? I'm grateful for any help!
Beta Was this translation helpful? Give feedback.
All reactions