Skip to content

Commit

Permalink
Rollback hash code usage at the SQL (#30)
Browse files Browse the repository at this point in the history
Rollback hash code usage at the SQL.
  • Loading branch information
ice-myles authored Oct 24, 2023
1 parent 14bf472 commit bed482f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (u *updater) update(ctx context.Context, bugfixStartTimestamp *time.Time) {
AND u.username != u.id
AND u.created_at < $1
GROUP BY u.id
ORDER BY u.id ASC
ORDER BY u.hash_code ASC
LIMIT $2
OFFSET $3`
usrs, err := storagepg.Select[eskimoUser](ctx, u.dbEskimo, sql, bugfixStartTimestamp.Time, maxLimit, offset)
Expand Down

0 comments on commit bed482f

Please sign in to comment.