chore: update comment for KEEPALIVE_INTERVAL

This commit is contained in:
Siyuan Miao 2025-09-12 10:41:40 +02:00
parent 8d03792479
commit 4501b96237
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ export default function useKeyboard() {
}, [rpcHidReady, cancelOngoingKeyboardMacroHidRpc, abortController]);
};
const KEEPALIVE_INTERVAL = 75; // 200ms interval
const KEEPALIVE_INTERVAL = 75; // TODO: use an adaptive interval based on RTT later
const cancelKeepAlive = useCallback(() => {
if (keepAliveTimerRef.current) {