refactor(codex): remove unused websocket debug getter · openclaw/openclaw@45366de
vincentkoc
·
2026-06-18
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -837,13 +837,6 @@ function getOrCreateWebSocketDebugStats(sessionId: string): OpenAICodexWebSocket
|
837 | 837 | return stats; |
838 | 838 | } |
839 | 839 | |
840 | | -export function getOpenAICodexWebSocketDebugStats( |
841 | | -sessionId: string, |
842 | | -): OpenAICodexWebSocketDebugStats | undefined { |
843 | | -const stats = websocketDebugStats.get(sessionId); |
844 | | -return stats ? { ...stats } : undefined; |
845 | | -} |
846 | | - |
847 | 840 | export function resetOpenAICodexWebSocketDebugStats(sessionId?: string): void { |
848 | 841 | if (sessionId) { |
849 | 842 | websocketDebugStats.delete(sessionId); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。