apache / dubbo-getty

a netty like asynchronous network I/O library based on tcp/udp/websocket; a bidirectional RPC framework based on JSON/Protobuf; a microservice framework based on zookeeper/etcd
Apache License 2.0
218 stars 69 forks source link

Improvement: rename the variables in TCP reconnect function and some default constants. #124

Closed No-SilverBullet closed 3 weeks ago

No-SilverBullet commented 3 weeks ago

What this PR does:

rename the variables in TCP reconnect function and some default constants.

1.rename constant 'reconnectInterval' to defaultReconnectInterval and 'maxTimes' to defaultMaxReconnectAttempts, indicates that these two constants are the default settings.

2.rename vars in reConnect():

Which issue(s) this PR fixes: NONE

Special notes for your reviewer: NONE Does this PR introduce a user-facing change?:

NONE