hikalkan / scs

TCP Server/Client Communication and RMI Framework
MIT License
225 stars 112 forks source link

Reconnection implementation mechanism #30

Open chengwengao opened 6 years ago

chengwengao commented 6 years ago

Does your reconnection mechanism reconnect at intervals specified by ReConnectCheckPeriod and not only if the client loses its connection to the server?Because from the log I printed, it was reconnected at intervals of ReConnectCheckPeriod, which would consume system resources in high concurrency scenarios. Which leads to a decrease in the forwarding rate.My ReConnectCheckPeriod is set to 30 seconds scs_reconnect