mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-04 08:27:46 +08:00
Add usage queue worker autoscaling
This commit is contained in:
@@ -67,6 +67,12 @@ pub(crate) fn provider_auto_remove_banned_keys(config: Option<&serde_json::Value
|
||||
admin_provider_quota_pure::provider_auto_remove_banned_keys(config)
|
||||
}
|
||||
|
||||
pub(crate) fn provider_auto_remove_quota_exhausted_keys(
|
||||
config: Option<&serde_json::Value>,
|
||||
) -> bool {
|
||||
admin_provider_quota_pure::provider_auto_remove_quota_exhausted_keys(config)
|
||||
}
|
||||
|
||||
pub(super) fn should_auto_remove_structured_reason(reason: Option<&str>) -> bool {
|
||||
admin_provider_quota_pure::should_auto_remove_structured_reason(reason)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user