Forums

how to restart always-on task faster?

I run a python shell in always-on task, Sometime I need modify this python shell , then It's need 5~10 minutes to stop and restart always-on task, How can I restart always-on task faster? or how can I make new python shell take effect with not restart always-on task?

We plan to make it faster, but there is a hack you may use now. Display the processes list on the bottom of the task page and manually kill the process. The system will automatically restart and pick your new code. It should be faster.

I also have this problem. I'm trying to debug code which involves restarting my always-on script several times. Each restart costs me around 5 minutes of sitting waiting for it while it says "starting".

Are you still planning to make this faster? I see it's been a known issue for at least four years.

Could you run / debug your a part of you code locally or in a Python console?