mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 01:10:23 +08:00
Merge remote-tracking branch 'origin/pr/399' into aether-rust-pioneer
# Conflicts: # crates/aether-data/src/lifecycle/bootstrap/postgres.rs # crates/aether-data/src/lifecycle/migrate/tests.rs
This commit is contained in:
@@ -1518,6 +1518,10 @@ pub fn admin_management_token_status_id_from_path(request_path: &str) -> Option<
|
||||
suffixed_path_identifier_from_path(request_path, "/api/admin/management-tokens/", "/status")
|
||||
}
|
||||
|
||||
pub fn admin_management_token_regenerate_id_from_path(request_path: &str) -> Option<String> {
|
||||
suffixed_path_identifier_from_path(request_path, "/api/admin/management-tokens/", "/regenerate")
|
||||
}
|
||||
|
||||
pub fn admin_adaptive_effective_limit(key: &StoredProviderCatalogKey) -> Option<u32> {
|
||||
if key.rpm_limit.is_none() {
|
||||
key.learned_rpm_limit
|
||||
|
||||
Reference in New Issue
Block a user