[GH-ISSUE #2230] 建议新增心跳保活 #1398

Closed
opened 2026-02-27 00:03:23 +03:00 by kerem · 3 comments
Owner

Originally created by @bittok-project on GitHub (Aug 27, 2021).
Original GitHub issue: https://github.com/electerm/electerm/issues/2230

建议新增心跳保活
Send protocol NO-OP every 60 seconds
Send string: @ every 300 seconds

Originally created by @bittok-project on GitHub (Aug 27, 2021). Original GitHub issue: https://github.com/electerm/electerm/issues/2230 建议新增心跳保活 Send protocol NO-OP every 60 seconds Send string: @ every 300 seconds
kerem closed this issue 2026-02-27 00:03:23 +03:00
Author
Owner

@zxdong262 commented on GitHub (Aug 27, 2021):

默认是开启的,可以看看设置里的Keepalive设置,默认间隔10秒,如果服务器超时很短,可以设置短一些

<!-- gh-comment-id:906934963 --> @zxdong262 commented on GitHub (Aug 27, 2021): 默认是开启的,可以看看设置里的Keepalive设置,默认间隔10秒,如果服务器超时很短,可以设置短一些
Author
Owner

@bittok-project commented on GitHub (Aug 27, 2021):

我长时间(超过 5 分钟)不操作还是会断开,建议新增每隔多少秒发送一个字符串的选项

<!-- gh-comment-id:906961722 --> @bittok-project commented on GitHub (Aug 27, 2021): 我长时间(超过 5 分钟)不操作还是会断开,建议新增每隔多少秒发送一个字符串的选项
Author
Owner

@zxdong262 commented on GitHub (Sep 21, 2023):

https://github.com/electerm/electerm/issues/2998 最新版支持设为0,这个案例设为0解决了,可以试试

<!-- gh-comment-id:1729353069 --> @zxdong262 commented on GitHub (Sep 21, 2023): https://github.com/electerm/electerm/issues/2998 最新版支持设为0,这个案例设为0解决了,可以试试
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1398
No description provided.