Bump duplicate cache time (#5493)

* Bump seen_ttl for gossipsub duplicate cache
This commit is contained in:
Pawan Dhananjay
2024-03-27 23:01:51 +05:30
committed by GitHub
parent 9d24844f50
commit c909941ca1
2 changed files with 12 additions and 15 deletions

View File

@@ -256,6 +256,8 @@ impl<AppReqId: ReqId, TSpec: EthSpec> Network<AppReqId, TSpec> {
config.network_load,
ctx.fork_context.clone(),
gossipsub_config_params,
ctx.chain_spec.seconds_per_slot,
TSpec::slots_per_epoch(),
);
// If metrics are enabled for libp2p build the configuration