From 9cfe4f439a889ef020da1fc599823c4cc7f2b26e Mon Sep 17 00:00:00 2001 From: Grzegorz Prusak Date: Fri, 5 Apr 2024 07:48:19 +0200 Subject: [PATCH] reenabled rate limiting --- node/actors/network/src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/actors/network/src/config.rs b/node/actors/network/src/config.rs index c9728ce9..ab297458 100644 --- a/node/actors/network/src/config.rs +++ b/node/actors/network/src/config.rs @@ -29,11 +29,11 @@ impl Default for RpcConfig { }, push_block_store_state_rate: limiter::Rate { burst: 2, - refresh: time::Duration::ZERO, //milliseconds(500), + refresh: time::Duration::milliseconds(300), }, get_block_rate: limiter::Rate { burst: 10, - refresh: time::Duration::ZERO, //milliseconds(100), + refresh: time::Duration::milliseconds(100), }, consensus_rate: limiter::Rate { burst: 10,