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 Aug 21, 2024
1 parent 6a68947 commit 689a96f
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 14 deletions.
5 changes: 3 additions & 2 deletions core/src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,11 @@
networking {
maxConnections = 1024
idleTimeout = 610 seconds
responseHeaderTimeout = 5 seconds
bodyReadTimeout = 1 second
responseHeaderTimeout = 30 seconds
bodyReadTimeout = 28 seconds
maxRequestLineLength = 20480
maxHeadersLength = 40960
maxPayloadSize = 1048576 # 1MB
}

debug {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ object TestUtils {
networking = Networking(
1024,
610.seconds,
5.seconds,
1.second,
30.seconds,
28.second,
20480,
40960
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ object KafkaConfigSpec {
networking = Config.Networking(
maxConnections = 1024,
idleTimeout = 610.seconds,
responseHeaderTimeout = 5.seconds,
bodyReadTimeout = 1.second,
responseHeaderTimeout = 30.seconds,
bodyReadTimeout = 28.seconds,
maxRequestLineLength = 20480,
maxHeadersLength = 40960
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ object KinesisConfigSpec {
networking = Config.Networking(
maxConnections = 1024,
idleTimeout = 610.seconds,
responseHeaderTimeout = 5.seconds,
bodyReadTimeout = 1.second,
responseHeaderTimeout = 30.seconds,
bodyReadTimeout = 28.seconds,
maxRequestLineLength = 20480,
maxHeadersLength = 40960
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ object NsqConfigSpec {
networking = Config.Networking(
maxConnections = 1024,
idleTimeout = 610.seconds,
responseHeaderTimeout = 5.seconds,
bodyReadTimeout = 1.second,
responseHeaderTimeout = 30.seconds,
bodyReadTimeout = 28.seconds,
maxRequestLineLength = 20480,
maxHeadersLength = 40960
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ object ConfigSpec {
networking = Config.Networking(
maxConnections = 1024,
idleTimeout = 610.seconds,
responseHeaderTimeout = 5.seconds,
bodyReadTimeout = 1.second,
responseHeaderTimeout = 30.seconds,
bodyReadTimeout = 28.seconds,
maxRequestLineLength = 20480,
maxHeadersLength = 40960
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ object SqsConfigSpec {
networking = Config.Networking(
maxConnections = 1024,
idleTimeout = 610.seconds,
responseHeaderTimeout = 5.seconds,
bodyReadTimeout = 1.second,
responseHeaderTimeout = 30.seconds,
bodyReadTimeout = 28.seconds,
maxRequestLineLength = 20480,
maxHeadersLength = 40960
),
Expand Down

0 comments on commit 689a96f

Please sign in to comment.