dont commit rate limit
This commit is contained in:
parent
18a27f62be
commit
440f6c6607
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ pub use auth::RegistrationRequet;
|
|||
pub fn router() -> Router {
|
||||
let governor_conf = Box::new(
|
||||
GovernorConfigBuilder::default()
|
||||
.burst_size(1000)
|
||||
.burst_size(10)
|
||||
.per_second(1)
|
||||
.key_extractor(SmartIpKeyExtractor)
|
||||
.finish()
|
||||
|
|
|
@ -24,7 +24,7 @@ pub mod pages;
|
|||
pub fn router() -> Router {
|
||||
let governor_conf = Box::new(
|
||||
GovernorConfigBuilder::default()
|
||||
.burst_size(20000)
|
||||
.burst_size(20)
|
||||
.per_second(1)
|
||||
.key_extractor(SmartIpKeyExtractor)
|
||||
.finish()
|
||||
|
|
Loading…
Reference in a new issue