Skip to content

Commit

Permalink
[WX-1568] Bump Akka max-response-reason-length limit (#7406)
Browse files Browse the repository at this point in the history
  • Loading branch information
THWiseman authored Apr 16, 2024
1 parent 8e8300a commit 04c727d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ akka {
server-header = ""
}
client.connecting-timeout = 40s

// The default limit (64) for this is too low, which makes akka throw an error when a response exceeds this limit.
// Bumping higher so that we can accept and log longer error messages that may come back from a server.
client.parsing.max-response-reason-length = 1024
# Inspired by https://broadworkbench.atlassian.net/browse/CROM-6738
# and copied from https://stackoverflow.com/questions/27910526/logger-log1-slf4jlogger-did-not-respond-within-timeout5000-milliseconds-to-ini
# This gives the logger a little more than 5 seconds to startup. 5s was *almost* always enough, so a safe 30s should be *plenty* of time:
Expand Down

0 comments on commit 04c727d

Please sign in to comment.