Skip to content

Commit

Permalink
Extend default timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
peel committed Aug 20, 2024
1 parent 6a68947 commit f2566b4
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 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 @@ -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 f2566b4

Please sign in to comment.