helper_tasks
utils.helper_tasks
get_tasks_from_celery
get_tasks_from_celery(simulation_id)
returns celery ids from celery based on simulation_id. Can take up to few seconds when celry is busy
Source code in yaptide/utils/helper_tasks.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|
terminate_unfinished_tasks
terminate_unfinished_tasks(simulation_id)
Function for stopping tasks that wasn't finished with first try
Source code in yaptide/utils/helper_tasks.py
5 6 7 8 9 10 11 12 13 14 15 16 17 |
|