mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-19 12:01:27 +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
|
||||
func DefaultPagedQueryConfig() *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