FAForever / FAForever/server

Event Updates broken?

Open
#819 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
72
Forks
84
Avg merge
5h 11m
Merged PRs (30d)
1

Description

I looked into this issue https://github.com/FAForever/faf-java-api/issues/198 and the data is in the database.

However, when I query for something like `SELECT * FROM player_events WHERE event_id = '7be6fdc5-7867-4467-98ce-f7244a66625a' and update_time > '2021-08-01'` and it returns only 268 rows it makes me seriously wonder if we only had 268 winning uefs factions in one week of games.

Then I ran this query:
```
select * from game_stats gs inner join game_player_stats gps on gs.id = gps.gameId
where gs.validity = 0 and gs.endTime > '2021-08-01'
and gps.faction = 1
and gps.result = 'VICTORY'
```

and it gives me 4566 rows of players who won a UEF game.

Looks like sending updates does not work properly.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.