pyradmon feature request

More
6 years 8 months 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
6 years 8 months 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
6 years 8 months ago - 6 years 8 months 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: 6 years 8 months ago by ThibmoRozier.

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

More
6 years 8 months 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
6 years 8 months ago #449 by ThibmoRozier
Maybe it's good for both? :P

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

More
6 years 8 months 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.

Time to create page: 0.175 seconds
Powered by Kunena Forum
Solar powered Raspberry Pi 4 server stats: CPU 56% Memory 15% Swap 14% CPU temp=63.3'C Uptime 47 Days