Hangup on resume #19
output: ^C2022-09-22 16:42:43,635 CHECK` Did I do anything crazy with the resume_mining wrapper / asyncio tasks?? |
Replies: 1 comment
|
Looking at this code, it looks like you are using Basically replace |
output: ^C2022-09-22 16:42:43,635 CHECK` Did I do anything crazy with the resume_mining wrapper / asyncio tasks?? |
|
Looking at this code, it looks like you are using Basically replace |
Looking at this code, it looks like you are using
asyncio.create_task()to run the pause in the background when you actually want to await it. Awaiting it will block until the tasks complete.Basically replace
asyncio.create_task(stop_all_miners(miners))withawait stop_all_miners(miners), same goes for the resume.