Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.

Handle players that went off and come back after a long time #12

Open
negri opened this issue Aug 10, 2018 · 0 comments
Open

Handle players that went off and come back after a long time #12

negri opened this issue Aug 10, 2018 · 0 comments
Labels
bug Something isn't working Main DB A copy of the main database is required to test it.

Comments

@negri
Copy link
Owner

negri commented Aug 10, 2018

When a tracked player stops to get tracked (went off any clans, stopped playing) and come back the WG API does not allows me to infer when he played the battles on the interim, and so a large number of recent battles are reported.

This fixes itself in 28 days, but can introduce distortions if the player played a lot off the system.

Possible solutions

  • Purge players that went off for more than a month;
  • Continuously pull data from these players, on a monthly schedule, forever;*
  • Some mix of slow pulling data and purging;
  • If the number of battles is too large (more than 1,000?) put an achor just before the data collection so he starts again with zero recent battles; this may be the fair solution.
@negri negri added bug Something isn't working Main DB A copy of the main database is required to test it. labels Aug 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working Main DB A copy of the main database is required to test it.
Projects
None yet
Development

No branches or pull requests

1 participant