Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Relax timing requirement #33

Merged
merged 1 commit into from
Mar 30, 2023
Merged

Conversation

hannahhoward
Copy link
Collaborator

Goals

fix #24

Implementation

While theoretically we shouldn't get requests for events with times in the future, times are weird, and timezones are weird. Experimentally, we can see in the logs about 1 in 100 events getting rejected for this reason.

This PR allows 24 hour grace period to deal with the weird idiosyncracies of time. It also adds some logs we can monitor for events in the grace period to verify if there is actually a code error or this is indeed weird time or time zone idiosyncracies.

allow 24 hour grace period to deal with the weird idiosyncracies of time
@hannahhoward hannahhoward merged commit 6a8b9a4 into main Mar 30, 2023
@hannahhoward hannahhoward deleted the fix/relax-timing-requirement branch March 30, 2023 18:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't reject on bad phaseStartTime
2 participants