Commit Graph

20 Commits

Author SHA1 Message Date
NI
5434ab03b2 Bump copyright date to 2021 2021-03-02 21:32:54 +08:00
NI
706eb93150 Deploy the GitHub username change 2020-08-26 11:08:58 +08:00
NI
441374c0d4 Fix typo: Enviroment -> Environment 2020-08-17 12:56:03 +08:00
NI
d86c92867c Configuration: 1) Add scheme syntax support to Preset Meta; 2) Some wrong defaults has now been fixed 2020-08-13 23:04:54 +08:00
NI
1009cd4284 Use a better method to reload command presets 2020-03-12 21:19:20 +08:00
NI
b2210ce2b6 Reconfigure Environment configuration loader as well 2020-02-23 22:03:31 +08:00
NI
e7ca6d95ed Allowing Commands to reconfigure app Configuration, this is will allow default ports to be currently added to remote presets 2020-02-23 17:23:24 +08:00
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
ee7a6a4703 Support SSHWIFTY_ENV_RENAMED: prefix. When the value of an environment variable is prefixed with SSHWIFTY_ENV_RENAMED:, read another environment variable. For example: if SSHWIFTY_LISTENPORT = SSHWIFTY_ENV_RENAMED:PORT, the final value will be read from $PORT.
This is useful if the application is running on a cloud platform which force application to use their environment variables.
2019-08-11 12:12:44 +08:00
NI
2f670d625a Better value calculation, prevents the zero HeartbeatTimeout problem. 2019-08-10 15:41:22 +08:00
NI
8a9a483dd6 Add Direct configuration loader 2019-08-10 15:02:57 +08:00
NI
fa48b6aa34 Better message 2019-08-10 15:01:11 +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
539aa71e4e Returning the missing loader name. 2019-08-07 16:49:32 +08:00
NI
02f14eb14f Initial commit 2019-08-07 15:56:51 +08:00