mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-22 14:08:23 -05:00
Update src/config/parser.rs
This commit is contained in:
parent
531611f077
commit
3c1aaf63f8
@ -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"],
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user