mirror of https://github.com/jetkvm/kvm.git
The jiggler sends keep-alive packets every 50ms to prevent keyboard auto-release, but wasn't updating the session's LastActive timestamp. This caused the backend to timeout and demote the primary session after 5 minutes (default primaryTimeout), even with active jiggler. Primary fix: - Add UpdateLastActive call to handleHidRPCKeepressKeepAlive() in hidrpc.go - Ensures jiggler packets prevent session timeout Defensive enhancement: - Add WebSocket fallback for emergency promotion signals in session_manager.go - Store WebSocket reference in Session struct (webrtc.go) - Handle connectionModeChanged via WebSocket in devices.$id.tsx - Provides reliable signaling when WebRTC data channel is stale |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .env.cloud-development | ||
| .env.cloud-production | ||
| .env.cloud-staging | ||
| .gitignore | ||
| .prettierrc | ||
| dev_device.sh | ||
| eslint.config.cjs | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite-env.d.ts | ||
| vite.config.ts | ||