Detect a dead socket and reconnect before the grace period ends
維護者通常 2 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 45/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- lua
- 領域
- networking
研究方向
Start by locating the client socket read and reconnect handling; the issue does not name files or tests. Trace how incoming messages and the grace-forfeit period are handled, then check what test or local multiplayer setup exercises a silent socket. Done means the client detects silence, pings, and reconnects when no response arrives before the grace period ends.
由索引模型根據 Issue 內容生成。
描述
The client has no read timeout and sends no ping of its own. So when the socket went silent, the client waits until the grace forfeit has already happened.
I propose: When nothing arrives for 10 to 30 seconds, send a ping. If there is no response then reconnect.
- 主要語言
- Lua
- 星號
- 10
- 分支
- 8
- 平均合併
- 1 天 18 小時
- 30 天內合併 PR
- 20
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
Balatro-Multiplayer/BalatroMultiplayerAPI 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 63/100
Balatro-Multiplayer/BalatroMultiplayerAPI#55 ·
維護者通常 2 天內回覆
-
難度 5/5 一週以上 新手友好度 25/100
Balatro-Multiplayer/BalatroMultiplayerAPI#59 · 1 則留言 ·
維護者通常 2 天內回覆
-
難度 3/5 1-2 天 新手友好度 57/100
Balatro-Multiplayer/BalatroMultiplayerAPI#58 ·
維護者通常 2 天內回覆
-
難度 3/5 1-2 天 新手友好度 45/100
Balatro-Multiplayer/BalatroMultiplayerAPI#57 ·
維護者通常 2 天內回覆
-
難度 3/5 1-2 天 新手友好度 52/100
Balatro-Multiplayer/BalatroMultiplayerAPI#56 ·
維護者通常 2 天內回覆
查看 Balatro-Multiplayer/BalatroMultiplayerAPI 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 67/100
維護者通常 1 天內回覆
-
bug confirmed discord guide:tyrs-watch locale:enUS navigation v0.3.2
難度 2/5 1-3 小時 新手友好度 67/100
fitzforge/polestar#855 · 1 則留言 ·
維護者通常 1 天內回覆
-
translation
難度 2/5 1-3 小時 新手友好度 64/100
KristanLaimon/PanelsPlus#16 ·
-
Bug
難度 1/5 1 小時以內 新手友好度 91/100
DennisRas/WeeklyKnowledge#164 ·
-
bug
難度 2/5 1-3 小時 新手友好度 65/100
維護者通常 1 天內回覆