Good eye, Paul.

Commit 7ed5aaa
<https://github.com/weewx/weewx/commit/7ed5aaa541d9331516638fdcf3c7d8522ab6306a>
changes it to once a day.

I changed the station registry server to accept posts once every 23 hours
so we avoid a race condition.

On Fri, Mar 24, 2023 at 6:12 AM Paul R Anderson <[email protected]> wrote:

> WeeWX V5 commit 4acc09e
> <https://github.com/weewx/weewx/commit/4acc09e288ff65bd0c17c2e9741c819bfacea9a5>
>  Limits
> station registration interval to 3600 seconds (once an hour) max.
> This matches
> https://github.com/weewx/website/blob/master/register/register.cgi
> # how often can clients update, in seconds
> my $max_frequency = 3600;
> However the WeeWX site currently limits station registration to once a
> day. So i suspect it has register.cgi my $max_frequency = 86400;
> So currently with WeeWX V5 we allow users to attempt to register once an
> hour, but during a 24 hour period 23 requests will fail, and 1 will succeed.
> This causes 23 unnecessary failed requests to the website, and 23 failed
> log entries in the users log.
> Seems it might be better if station registration self.post_interval
> Limited station registration interval to 86400 seconds (once a Day) max.
>
> Thanks Paul
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-development/CAOAVAeenqq77zntS3ZGus5%3D4aXD_jpi4rTHLgk6H4BPsP8yMDA%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-development/CAOAVAeenqq77zntS3ZGus5%3D4aXD_jpi4rTHLgk6H4BPsP8yMDA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zEAfOqDQXwW2rsYayOkM5nFs9pK6jMpZXXNp-uf8oEPpiw%40mail.gmail.com.

Reply via email to