refactor: extract runtime state backends

This commit is contained in:
fawney19
2026-05-08 00:18:12 +08:00
parent 6f620d92be
commit 6247ac3edc
111 changed files with 4358 additions and 3203 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
use aether_gateway::{build_router_with_state, AppState, GatewayDataConfig};
use aether_runtime::DistributedConcurrencyGate;
use aether_runtime_state::RuntimeSemaphore;
use crate::server::SpawnedServer;
@@ -8,7 +8,7 @@ pub struct GatewayHarnessConfig {
pub upstream_base_url: String,
pub data_config: Option<GatewayDataConfig>,
pub max_in_flight_requests: Option<usize>,
pub distributed_request_gate: Option<DistributedConcurrencyGate>,
pub distributed_request_gate: Option<RuntimeSemaphore>,
pub tunnel_instance_id: Option<String>,
pub tunnel_relay_base_url: Option<String>,
}