refactor: centralize root runtime sources (#3846)

This commit is contained in:
Zhengchao An
2026-06-25 13:19:52 +08:00
committed by GitHub
parent 1c4bcd4372
commit 46fa28f542
21 changed files with 148 additions and 49 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ use super::EndpointServerPools;
use super::get_server_info;
use super::{PoolDecommissionInfo, PoolStatus, RebalStatus, get_total_usable_capacity, get_total_usable_capacity_free};
use super::{apply_bucket_usage_memory_overlay, load_data_usage_from_backend};
use crate::app::context::{
use crate::app::runtime_sources::{
AppContext, get_global_app_context, resolve_endpoints_handle, resolve_object_store_handle_for_context,
};
use crate::capacity::resolve_admin_used_capacity;