sqldb: change default slices page size

This commit is contained in:
Elle Mouton committed 2025-07-30 19:29:23 +02:00
1 parent 36eb0e3ff6
commit 6ca43173a1
1 file changed
+3 -1
+3 -1
View File
@@ -23,7 +23,9 @@ type PagedQueryConfig struct {
// DefaultPagedQueryConfig returns a default configuration
func DefaultPagedQueryConfig() *PagedQueryConfig {
return &PagedQueryConfig{
PageSize: 1000,
// TODO(elle): make configurable & have different defaults
// for SQLite and Postgres.
PageSize: 250,
}
}