0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-12-22 20:38:22 -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(),
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"],
}
})
})