runtime: switch executor to adapter registry

This commit is contained in:
github-ops
2026-05-14 18:28:19 +00:00
parent d9065a737d
commit 8ddcb213a3
12 changed files with 226 additions and 334 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ impl ProtocolAdapter for RestAdapter {
query_params: prepared.query_params.clone(),
headers: prepared.headers.clone(),
body: prepared.body.clone(),
timeout_ms: 30_000,
timeout_ms: prepared.timeout_ms,
};
let response = self.execute(target, &request).await?;
@@ -63,7 +63,7 @@ impl ProtocolAdapter for RestAdapter {
query_params: prepared.query_params.clone(),
headers: prepared.headers.clone(),
body: prepared.body.clone(),
timeout_ms: 30_000,
timeout_ms: prepared.timeout_ms,
},
window_duration_ms,
max_items: max_items.map(|value| value.saturating_add(1)),