mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-11-15 04:35:17 +00:00
adjust validation queue size for bootstraps
This commit is contained in:
parent
c84599e7e0
commit
48647281c2
@ -175,6 +175,9 @@ func NewBlossomSub(
|
|||||||
|
|
||||||
blossomOpts := []blossomsub.Option{}
|
blossomOpts := []blossomsub.Option{}
|
||||||
|
|
||||||
|
if isBootstrapPeer {
|
||||||
|
blossomOpts = append(blossomOpts, blossomsub.WithValidateQueueSize(1024))
|
||||||
|
}
|
||||||
if tracer != nil {
|
if tracer != nil {
|
||||||
blossomOpts = append(blossomOpts, blossomsub.WithEventTracer(tracer))
|
blossomOpts = append(blossomOpts, blossomsub.WithEventTracer(tracer))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user