If I understand correctly, a task gets a new msg_id when you call client.resubmit(msg_id). I noticed that the 'cloned' task seems to have a random session name. I would suggest to take over all cutomizable attributes: session, username, retries, after, ... in order to let the resubmitted task behave like the original one.
One side effect for me would be to delete the original task after the resubmitted one took it's place.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4