sqldb: change default slices page size

This commit is contained in:
Elle Mouton
2025-07-28 12:37:11 +02:00
parent 36eb0e3ff6
commit 6ca43173a1

View File

@@ -23,7 +23,9 @@ type PagedQueryConfig struct {
// DefaultPagedQueryConfig returns a default configuration // DefaultPagedQueryConfig returns a default configuration
func DefaultPagedQueryConfig() *PagedQueryConfig { func DefaultPagedQueryConfig() *PagedQueryConfig {
return &PagedQueryConfig{ return &PagedQueryConfig{
PageSize: 1000, // TODO(elle): make configurable & have different defaults
// for SQLite and Postgres.
PageSize: 250,
} }
} }