dont commit rate limit

This commit is contained in:
Tyler Murphy 2023-02-02 11:30:24 -05:00
parent 18a27f62be
commit 440f6c6607
2 changed files with 2 additions and 2 deletions

View file

@ -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()

View file

@ -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()