graph+config: add sql pagination config to ChannelGraph
This commit is contained in:
5 files changed
+17
-6
No files matched your search
@@ -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...,
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user