✨ feat: add code to parse the new config option (#203)
This commit is contained in:
parent
4eb75a8cb1
commit
8cba040d80
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue