NI
9b2513c89d
Clean up code inside the configuration loaders
2020-02-08 11:17:56 +08:00
NI
67c99e3092
Implemented the host name auto suggestion, and added Preset feature
2020-02-07 21:34:16 +08:00
NI
b5ebe6759c
Update copyright date to 2020. Happy new year!
2019-12-29 14:11:54 +08:00
NI
36ee034bcf
Use ReadTimeout*0.8 as max heartBeatTimeout rather than ReadTimeout/2.
...
Heartbeat is usually returned very quickly, no need to force two heartbeat within one read timeout period.
User can change the configuration to bring back the setting if needed.
2019-08-13 10:55:48 +08:00
NI
f3336d61a0
Make DialTimeout configurable.
2019-08-12 23:50:24 +08:00
NI
2f670d625a
Better value calculation, prevents the zero HeartbeatTimeout problem.
2019-08-10 15:41:22 +08:00
NI
4f0d899346
Calculate HeartbeatTimeout configuration in the right way.
2019-08-10 14:54:18 +08:00
NI
5e9e308d8a
Fixed a bug causing .WithDefault to reset settings: I forgot to assign values.
2019-08-09 16:25:56 +08:00
NI
02f14eb14f
Initial commit
2019-08-07 15:56:51 +08:00