This commit is contained in:
Bryan Stitt 2023-10-11 20:55:13 -07:00
parent 12b3069030
commit f696195fed

View File

@ -76,6 +76,7 @@ where
return Ok(DeferredRateLimitResult::RetryNever);
}
// TODO: i do not like having this in a mutex at all
let deferred_rate_limit_result = Arc::new(Mutex::new(None));
let redis_key = format!("{}:{}", self.prefix, key);