Replies: 1 comment 1 reply
-
I don't think you're doing anything wrong here (although I prefer There's a good chance I can refactor to fix this, since that |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey I very frequently see the mentioned RuntimeWarning above while trying to
get_data
from miners. The line of code that is responsible for it is pyasic/miners/base.py", lineno 432api_command_task = asyncio.sleep(0)
. I'm not sure if it's me using the library wrong, or if this section of base.py can be refactored to eliminate the issue, or if this is a known issue etc. Here is what I'm doing:I call this as follows:
Where miner_ips is just a list of ips that represent miners. Am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions