chore(RunnerClient): fix RunnerClient error usages in implementations

This commit is contained in:
2026-01-03 15:49:54 +08:00
parent de462866b2
commit 74b6d0c653
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ import java.util.concurrent.ExecutorService;
public class SandboxRunnerClient extends RunnerClient {
public SandboxRunnerClient(ConcurrentHashMap<String, MetaActionInfo> existedMetaActions, ExecutorService executor) { // 连接沙盒执行器(websocket)
super(existedMetaActions, executor);
super(existedMetaActions, executor, null);
}
protected RunnerResponse doRun(MetaAction metaAction) {

View File

@@ -14,7 +14,7 @@ public class RunnerClientTest {
private static class TestRunnerClient extends RunnerClient {
public TestRunnerClient() {
super(new ConcurrentHashMap<>(), Executors.newVirtualThreadPerTaskExecutor());
super(new ConcurrentHashMap<>(), Executors.newVirtualThreadPerTaskExecutor(), null);
}
@Override