Fix password hash in-flight limiter runtime bug due to improper Extension registration
This commit is contained in:
parent
1996b5d688
commit
10c1fb522b
@ -46,7 +46,7 @@ pub struct PasswordHashInflightLimiter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl PasswordHashInflightLimiter {
|
impl PasswordHashInflightLimiter {
|
||||||
pub async fn new(limit: usize) -> Self {
|
pub fn new(limit: usize) -> Self {
|
||||||
Self {
|
Self {
|
||||||
overall: Semaphore::new(limit),
|
overall: Semaphore::new(limit),
|
||||||
per_source_ip: Default::default(),
|
per_source_ip: Default::default(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user