Skip to content

Commit

Permalink
add a return
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed Dec 3, 2023
1 parent 769fd86 commit 2939d21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions store/queries.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1255,7 +1255,7 @@ function insertMatch(match, options, cb) {
});
}
function upsertMatchBlobs(cb) {
// TODO this function is meant to eventually replace the cassandra match/player_match tables
// TODO (howard) this function is meant to eventually replace the cassandra match/player_match tables
// NOTE: remove pgroup since we don't actually need it stored
// It's a temporary store (postgres table) holding data for each possible stage of ingestion, api/gcdata/replay/meta etc.
// We store a match blob in the row for each stage
Expand Down Expand Up @@ -1473,9 +1473,9 @@ function insertMatch(match, options, cb) {
attempts: options.attempts || 15,
}
);
cb(null, job);
return cb(null, job);
} catch (e) {
cb(e);
return cb(e);
}
}
return cb();
Expand Down

0 comments on commit 2939d21

Please sign in to comment.