Skip to content

Commit

Permalink
Extend default timeouts to match upstream defaults
Browse files Browse the repository at this point in the history
The reference defaults should be less strict and match the settings we define
upstream.
  • Loading branch information
peel committed Sep 4, 2024
1 parent 314e128 commit 3be22e4
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion core/src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
networking {
maxConnections = 1024
idleTimeout = 610 seconds
responseHeaderTimeout = 5 seconds
responseHeaderTimeout = 30 seconds
maxRequestLineLength = 20480
maxHeadersLength = 40960
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ object TestUtils {
networking = Networking(
1024,
610.seconds,
5.seconds,
30.seconds,
20480,
40960
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ object KafkaConfigSpec {
networking = Config.Networking(
maxConnections = 1024,
idleTimeout = 610.seconds,
responseHeaderTimeout = 5.seconds,
responseHeaderTimeout = 30.seconds,
maxRequestLineLength = 20480,
maxHeadersLength = 40960
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ object KinesisConfigSpec {
networking = Config.Networking(
maxConnections = 1024,
idleTimeout = 610.seconds,
responseHeaderTimeout = 5.seconds,
responseHeaderTimeout = 30.seconds,
maxRequestLineLength = 20480,
maxHeadersLength = 40960
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ object NsqConfigSpec {
networking = Config.Networking(
maxConnections = 1024,
idleTimeout = 610.seconds,
responseHeaderTimeout = 5.seconds,
responseHeaderTimeout = 30.seconds,
maxRequestLineLength = 20480,
maxHeadersLength = 40960
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ object ConfigSpec {
networking = Config.Networking(
maxConnections = 1024,
idleTimeout = 610.seconds,
responseHeaderTimeout = 5.seconds,
responseHeaderTimeout = 30.seconds,
maxRequestLineLength = 20480,
maxHeadersLength = 40960
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ object SqsConfigSpec {
networking = Config.Networking(
maxConnections = 1024,
idleTimeout = 610.seconds,
responseHeaderTimeout = 5.seconds,
responseHeaderTimeout = 30.seconds,
maxRequestLineLength = 20480,
maxHeadersLength = 40960
),
Expand Down

0 comments on commit 3be22e4

Please sign in to comment.