Replies: 2 comments 1 reply
-
Nothing prevents you from connecting the device to a PC and leave it running overnight. Connect to the REPL and see what's happening. I guess that successful |
Beta Was this translation helpful? Give feedback.
1 reply
-
As a general comment |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a coroutine that I wanted to continuously run and it keeps on polling my REST API server. However, for some reason using urequests fails for some time it works for an hour or so then it stops working and stop sending API call.
I think that memory gets eaten up which is bad as my system is not stable
My app runs on batteries so I do not know what is happening.
Not sure but if I do it like this, will this solve my problem?
I have been reading some discussions about issues with urequests and how it is not compatible with asyncio. Is this true and what are my alternatives?
Fairly new to asyncio but I like the benefits of this in my programming.
My REST API Client code looks like this
And the way I call this is like this in my main code actually.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions