alamin655
commited on
Commit
•
3c1aaf6
1
Parent(s):
531611f
Update src/config/parser.rs
Browse files- src/config/parser.rs +3 -3
src/config/parser.rs
CHANGED
@@ -102,9 +102,9 @@ impl Config {
|
|
102 |
.collect(),
|
103 |
request_timeout: globals.get::<_, u8>("request_timeout")?,
|
104 |
threads,
|
105 |
-
|
106 |
-
number_of_requests:
|
107 |
-
time_limit:
|
108 |
}
|
109 |
})
|
110 |
})
|
|
|
102 |
.collect(),
|
103 |
request_timeout: globals.get::<_, u8>("request_timeout")?,
|
104 |
threads,
|
105 |
+
rate_limiter: RateLimiter {
|
106 |
+
number_of_requests: rate_limiter["number_of_requests"],
|
107 |
+
time_limit: rate_limiter["time_limit"],
|
108 |
}
|
109 |
})
|
110 |
})
|