mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-12-22 20:38:22 -05:00
✨ feat: add code to parse the new config option (#203)
This commit is contained in:
parent
4eb75a8cb1
commit
8cba040d80
@ -52,8 +52,8 @@ pub struct AggregatorConfig {
|
||||
///
|
||||
/// # Fields
|
||||
///
|
||||
/// * `number_of_requests` -
|
||||
/// * `time_limit` -
|
||||
/// * `number_of_requests` - The number of request that are allowed within a provided time limit.
|
||||
/// * `time_limit` - The time limit in which the quantity of requests that should be accepted.
|
||||
#[derive(Clone)]
|
||||
pub struct RateLimiter {
|
||||
pub number_of_requests: u8,
|
||||
|
Loading…
Reference in New Issue
Block a user