diff --git a/core/src/main/resources/reference.conf b/core/src/main/resources/reference.conf index 4ad566183..baa512aa2 100644 --- a/core/src/main/resources/reference.conf +++ b/core/src/main/resources/reference.conf @@ -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 { diff --git a/kafka/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/KafkaConfigSpec.scala b/kafka/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/KafkaConfigSpec.scala index 3b402dafc..164dc136b 100644 --- a/kafka/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/KafkaConfigSpec.scala +++ b/kafka/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/KafkaConfigSpec.scala @@ -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 ), diff --git a/kinesis/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/sinks/KinesisConfigSpec.scala b/kinesis/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/sinks/KinesisConfigSpec.scala index 1574ee9c5..c9a4db29a 100644 --- a/kinesis/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/sinks/KinesisConfigSpec.scala +++ b/kinesis/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/sinks/KinesisConfigSpec.scala @@ -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 ), diff --git a/nsq/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/NsqConfigSpec.scala b/nsq/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/NsqConfigSpec.scala index 8cc536d12..d49c0239b 100644 --- a/nsq/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/NsqConfigSpec.scala +++ b/nsq/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/NsqConfigSpec.scala @@ -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 ), diff --git a/pubsub/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/ConfigSpec.scala b/pubsub/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/ConfigSpec.scala index 1392133de..7885bc550 100644 --- a/pubsub/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/ConfigSpec.scala +++ b/pubsub/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/ConfigSpec.scala @@ -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 ), diff --git a/sqs/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/SqsConfigSpec.scala b/sqs/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/SqsConfigSpec.scala index 86a8a8d76..ed84e14a8 100644 --- a/sqs/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/SqsConfigSpec.scala +++ b/sqs/src/test/scala/com.snowplowanalytics.snowplow.collectors.scalastream/SqsConfigSpec.scala @@ -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 ),