0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-25 15:38:21 -05:00

Update src/config/parser.rs

This commit is contained in:
alamin655 2023-09-11 11:56:12 +05:30 committed by GitHub
parent 531611f077
commit 3c1aaf63f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,9 +102,9 @@ impl Config {
.collect(), .collect(),
request_timeout: globals.get::<_, u8>("request_timeout")?, request_timeout: globals.get::<_, u8>("request_timeout")?,
threads, threads,
rate_limter: RateLimiter { rate_limiter: RateLimiter {
number_of_requests: rate_limter["number_of_requests"], number_of_requests: rate_limiter["number_of_requests"],
time_limit: rate_limter["time_limit"], time_limit: rate_limiter["time_limit"],
} }
}) })
}) })