Skip to content

Commit 36fb6ad

Browse files
committed
refactor(appserver): depend on mapping store interface
1 parent 31454bc commit 36fb6ad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/io/github/easy4j/codex/appserver/CodexAppServerTurn.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class CodexAppServerTurn implements WebSocket.Listener {
6868
private final AppServerTurnRequest request;
6969
private final CodexAppServerConfig config;
7070
private final ObjectMapper objectMapper;
71-
private final ThreadMappingCache threadBySession;
71+
private final ThreadMappingStore threadBySession;
7272
private final HttpClient httpClient;
7373
private final CompletableFuture<AppServerTurnResult> future = new CompletableFuture<>();
7474
private final Map<Long, CompletableFuture<JsonNode>> pendingRpcs = new ConcurrentHashMap<>();
@@ -87,7 +87,7 @@ class CodexAppServerTurn implements WebSocket.Listener {
8787
CodexAppServerTurn(AppServerTurnRequest request,
8888
CodexAppServerConfig config,
8989
ObjectMapper objectMapper,
90-
ThreadMappingCache threadBySession,
90+
ThreadMappingStore threadBySession,
9191
HttpClient httpClient) {
9292
this.request = Objects.requireNonNull(request, "request");
9393
this.config = Objects.requireNonNull(config, "config");

0 commit comments

Comments
 (0)