diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-11-05 17:52:01 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-11-05 17:52:01 +0100 |
| commit | a753b6c5552e4064c0c9b14c20bf3f06bd23be21 (patch) | |
| tree | 707a459a021f8a884b48e679241bb09db0e9b12f | |
| parent | eabe0bb6c0498016ef643a0f16f6dfe84ec2d85e (diff) | |
| download | analyzer-release/2.20.0.tar.gz analyzer-release/2.20.0.zip | |
order matches in batch by date ascrelease/2.20.0
| -rw-r--r-- | worker.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -212,7 +212,7 @@ def process(): tau=RANKED_TAU, draw_probability=0 ) - for match in db.query(Match).options(\ + for match in db.query(Match).order_by(Match.created_at.asc()).options(\ load_only("api_id", "game_mode")\ .selectinload(Match.rosters)\ .load_only("api_id", "match_api_id", "winner")\ |
