server icon indicating copy to clipboard operation
server copied to clipboard

[FEATURE] Abort all agents chunks without deleting the task

Open s6410 opened this issue 5 years ago • 2 comments

Hashtopolis 0.12.0 latest master git

Hi,

Is there any option to abort a running task without deleting it? If I am running a PRINCE task for example and I add another task with higher priority I would like to abort all running agents in the PRINCE-task to be able to assign them to the new task and not have to wait for a new chunk to be dispatched in the PRINCE-task. Now you have to abort all chunks for each agent one by one which can be quite time consuming

s6410 avatar Feb 26 '20 09:02 s6410

Would this be like a pause button for a task or super task along side of the task list? I've think i've seen this too when trying to move a task to a higher priority. I kept canceling new chunks that kept opening after aborting the prior chunk and ended up having to remove the task to shift priorities.

staxmood avatar Feb 26 '20 16:02 staxmood

Like staxmood says it would be more of a pause button, keeping the task active and at the same priority but forcing the agents to abort their chunks to get assigned to the new task with a higher priority.

If you don’t want the agents to continue with the task they were aborted from you could always set priority zero. Or maybe it should be implemented as a permanent pause, meaning abort all agents AND set priority to zero. Could lead to confusion and problem keeping track of tasks if you have many of them though.

s6410 avatar Feb 26 '20 17:02 s6410