From 3c1aaf63f83fbaad488c095041bc2a15c7be441d Mon Sep 17 00:00:00 2001 From: alamin655 Date: Mon, 11 Sep 2023 11:56:12 +0530 Subject: [PATCH] Update src/config/parser.rs --- src/config/parser.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config/parser.rs b/src/config/parser.rs index c797857..abf0db2 100644 --- a/src/config/parser.rs +++ b/src/config/parser.rs @@ -102,9 +102,9 @@ impl Config { .collect(), request_timeout: globals.get::<_, u8>("request_timeout")?, threads, - rate_limter: RateLimiter { - number_of_requests: rate_limter["number_of_requests"], - time_limit: rate_limter["time_limit"], + rate_limiter: RateLimiter { + number_of_requests: rate_limiter["number_of_requests"], + time_limit: rate_limiter["time_limit"], } }) })