mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-08 02:17:46 +08:00
refactor: 优化调度候选排序与用量写入链路并改进 Fernet 缓存与前端批量列表
This commit is contained in:
@@ -221,7 +221,7 @@ async fn execute_sync(
|
||||
let plan = parse_request_json::<ExecutionPlan>(request).await?;
|
||||
let result = state
|
||||
.execution_runtime
|
||||
.execute_sync(plan)
|
||||
.execute_sync(&plan)
|
||||
.await
|
||||
.map_err(|err| ExecutionRuntimeAppError(ExecutionRuntimeServerError::Transport(err)))?;
|
||||
Ok(maybe_hold_axum_response_permit(
|
||||
@@ -238,7 +238,7 @@ async fn execute_stream(
|
||||
let plan = parse_request_json::<ExecutionPlan>(request).await?;
|
||||
let execution = state
|
||||
.execution_runtime
|
||||
.execute_stream(plan)
|
||||
.execute_stream(&plan)
|
||||
.await
|
||||
.map_err(|err| ExecutionRuntimeAppError(ExecutionRuntimeServerError::Transport(err)))?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user