diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-14 11:50:13 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-14 11:50:13 +0200 |
| commit | b33b4227b89c08f8b663351bd9513f4afa15a943 (patch) | |
| tree | 29c2be73360705dc3fb02dfe394799cbc171fbe3 | |
| parent | 5051f67f651d318d007439553364cb164846935f (diff) | |
| download | bridge-release/2.3.1.tar.gz bridge-release/2.3.1.zip | |
fix region updates not taking shard_id into accountrelease/2.3.1
| -rw-r--r-- | server.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -271,6 +271,7 @@ async function updateRegion(region, category) { let grabstart; const last_match = await databaseForCategory(category).Participant.findOne({ attributes: ["created_at"], + where: { shard_id: region }, order: [ [seq.col("created_at"), "DESC"] ] }); if (last_match == null) grabstart = undefined; |
