Skip to content

Commit 6ca4317

Browse files
committed
sqldb: change default slices page size
1 parent 36eb0e3 commit 6ca4317

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sqldb/paginate.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ type PagedQueryConfig struct {
2323
// DefaultPagedQueryConfig returns a default configuration
2424
func DefaultPagedQueryConfig() *PagedQueryConfig {
2525
return &PagedQueryConfig{
26-
PageSize: 1000,
26+
// TODO(elle): make configurable & have different defaults
27+
// for SQLite and Postgres.
28+
PageSize: 250,
2729
}
2830
}
2931

0 commit comments

Comments
 (0)