sqldb: change default slices page size
This commit is contained in:
1 file changed
+3
-1
+3
-1
@@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user