mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-10 19:29:50 +08:00
refactor: isolate dispatch scheduling core
This commit is contained in:
@@ -120,6 +120,10 @@ impl FrontdoorUserRpmLimiter {
|
||||
self.resolve_system_default_limit(state).await
|
||||
}
|
||||
|
||||
pub(crate) fn clear_system_default_cache(&self) {
|
||||
self.system_default_cache.clear();
|
||||
}
|
||||
|
||||
pub(crate) fn current_bucket(&self, now_ts: u64) -> u64 {
|
||||
self.config.current_bucket(now_ts)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user