neon_arch
commited on
Commit
•
8cba040
1
Parent(s):
4eb75a8
✨ feat: add code to parse the new config option (#203)
Browse files
src/config/parser_models.rs
CHANGED
@@ -52,8 +52,8 @@ pub struct AggregatorConfig {
|
|
52 |
///
|
53 |
/// # Fields
|
54 |
///
|
55 |
-
/// * `number_of_requests` -
|
56 |
-
/// * `time_limit` -
|
57 |
#[derive(Clone)]
|
58 |
pub struct RateLimiter {
|
59 |
pub number_of_requests: u8,
|
|
|
52 |
///
|
53 |
/// # Fields
|
54 |
///
|
55 |
+
/// * `number_of_requests` - The number of request that are allowed within a provided time limit.
|
56 |
+
/// * `time_limit` - The time limit in which the quantity of requests that should be accepted.
|
57 |
#[derive(Clone)]
|
58 |
pub struct RateLimiter {
|
59 |
pub number_of_requests: u8,
|