adjust validation queue size for bootstraps

This commit is contained in:
Cassandra Heart 2024-08-12 02:42:53 -05:00
parent c84599e7e0
commit 48647281c2
No known key found for this signature in database
GPG Key ID: 6352152859385958

View File

@ -175,6 +175,9 @@ func NewBlossomSub(
blossomOpts := []blossomsub.Option{}
if isBootstrapPeer {
blossomOpts = append(blossomOpts, blossomsub.WithValidateQueueSize(1024))
}
if tracer != nil {
blossomOpts = append(blossomOpts, blossomsub.WithEventTracer(tracer))
}