Skip to content

Commit

Permalink
revert: page size debug experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
zepatrik committed Oct 21, 2024
1 parent b17ad5c commit 30508ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/persistence/sql/uuid_mapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ func (p *Persister) batchFromUUIDs(ctx context.Context, ids []uuid.UUID, opts ..
// We need to paginate on the ids, because we want to get the exact chunk of
// string representations for the given ids.
pagination, _ := internalPaginationFromOptions(opts...)
_ = pagination
pageSize := 4
pageSize := pagination.PerPage

// Build a map from UUID -> indices in the result.
idIdx := make(map[uuid.UUID][]int, len(ids))
Expand Down

0 comments on commit 30508ea

Please sign in to comment.