graph+config: add sql pagination config to ChannelGraph

This commit is contained in:
Elle Mouton committed 2025-07-22 17:16:41 +02:00
1 parent f0d2d1fd0a
commit 2fa30e8735
5 files changed
+17 -6

No files matched your search

+2 -1
View File
@@ -32,7 +32,8 @@ func (d *DefaultDatabaseBuilder) getGraphStore(baseDB *sqldb.BaseDB,
return graphdb.NewSQLStore(
&graphdb.SQLStoreConfig{
ChainHash: *d.cfg.ActiveNetParams.GenesisHash,
ChainHash: *d.cfg.ActiveNetParams.GenesisHash,
PaginationCfg: sqldb.DefaultPagedQueryConfig(),
},
graphExecutor, opts...,
)