mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-22 07:08:14 +02:00
sqldb: change default slices page size
This commit is contained in:
@@ -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