pyradmon feature request

More
9 years 1 month ago #441 by Juzzie
Replied by Juzzie on topic pyradmon feature request
I have a feature request for pyradmon. Is it possible to get pyradmon to restart if the response from radmon takes...more than 50s? I have a really slow and unreliable internet connection and it seems that if the server response is too slow then pyradmon will hang, requiring me to restart it. By "hang" I mean it will keep receiving data from the GC but wont even try to send it.

Owner and operator of "southofhobart" monitoring stations.

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #443 by mw0uzo
Replied by mw0uzo on topic pyradmon feature request
Oh, that's interesting - the sending of the data should time out and the next will try again. That's what happens here anyway. The http get that sends the data might be hanging completely. I'll check that. What messages come up in the log when it does this?

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago - 9 years 1 month ago #444 by ThibmoRozier
Interesting indeed.
Will also have a look at the Upload class.
A little timer would be a good idea, disposing the state to then just continue working normally.
And perhaps 50 seconds is too long, since it's just a header reply, if I am not mistaking.

//Edit: Version with timeout is now downloadable in development state.
Last edit: 9 years 1 month ago by ThibmoRozier.

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #445 by mw0uzo
Replied by mw0uzo on topic pyradmon feature request
oops. I thought this was about RadLog :silly:

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #449 by ThibmoRozier
Maybe it's good for both? :P

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #481 by ThibmoRozier
Please do let me know if it works better now or not. :)

Please Log in or Create an account to join the conversation.

Moderators: Gamma-Man
Time to create page: 0.162 seconds
Powered by Kunena Forum
Everything's free. Please support us by considering a donation. Log in first!
Solar powered Raspberry Pi 4 server stats: CPU 30% Memory 12% Swap 10% CPU temp=57.9'C Uptime 8 Days