Skip to content

Commit

Permalink
[yem] default connect timeout to 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
rmannibucau committed Feb 29, 2024
1 parent cb58c01 commit bf9370d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public record HttpConfiguration(
@Property(defaultValue = "5_000", documentation = "Check offline timeout. Per uri a test is done to verify the system is offline.") int offlineTimeout,
@Property(defaultValue = "4", documentation = "Number of NIO threads.") int threads,
@Property(defaultValue = "false", documentation = "Should HTTP calls be logged.") boolean log,
@Property(defaultValue = "5_000L", documentation = "Connection timeout in milliseconds, in case of offline mode it should stay low enough to not block any new command too long when set up automatically. You can set in `~/.yupiik/yem/rc` the line `http.offlineMode=true` or `http.connectTimeout = 3000` to limit this effect.") long connectTimeout,
@Property(defaultValue = "10_000L", documentation = "Connection timeout in milliseconds, in case of offline mode it should stay low enough to not block any new command too long when set up automatically. You can set in `~/.yupiik/yem/rc` the line `http.offlineMode=true` or `http.connectTimeout = 3000` to limit this effect.") long connectTimeout,
@Property(defaultValue = "900_000L", documentation = "Request timeout in milliseconds.") long requestTimeout,
@Property(defaultValue = "86_400_000L", documentation = "Cache validity of requests (1 day by default) in milliseconds. A negative or zero value will disable cache.") long cacheValidity,
@Property(defaultValue = "System.getProperty(\"user.home\", \"\") + \"/.yupiik/yem/cache/http\"", documentation = "Where to cache slow updates (version fetching). `none` will disable cache.") String cache,
Expand Down

0 comments on commit bf9370d

Please sign in to comment.