Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No de-duplication when backend is offline #50

Closed
SammyDelanghe opened this issue Mar 12, 2022 · 4 comments
Closed

No de-duplication when backend is offline #50

SammyDelanghe opened this issue Mar 12, 2022 · 4 comments

Comments

@SammyDelanghe
Copy link
Member

SammyDelanghe commented Mar 12, 2022

When the backend of manual count is offline:

  • there is no de-duplication of the laps atm: within 15 seconds it should only be possible to ad 1 lap to a team
  • the de-duplication rule above should also work with multiple users are counting laps
@redfast00
Copy link
Member

manual count could/should in broad terms work like the stations do and be pull based instead of push based. the problem is that browsers don't make pull-based api's easy, but the data flow conceptually could work like this

@redfast00
Copy link
Member

I'll look into it after the OBUS event

@NuttyShrimp
Copy link
Member

NuttyShrimp commented Mar 12, 2022

I've changed the search query for interfering laps in #49, now it searches for a lap at the timestamp of the pushed lap + and - the min difference needed between two laps

@NuttyShrimp
Copy link
Member

NuttyShrimp commented Mar 16, 2022

So for caching the laps on the client and moving to a pull based system following tasks must be done:

Moved to #55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants