Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
551 additions
and
696 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,43 @@ | ||
# common logging configuration see common scala | ||
include "logging" | ||
include "akka-http-version" | ||
|
||
# see http://spray.io/documentation/spray-can/configuration/ | ||
# descriptions inlined below for convenience | ||
spray.can.server { | ||
# Description: | ||
# If a request hasn't been responded to after the time period set here | ||
# a `spray.http.Timedout` message will be sent to the timeout handler. | ||
# Set to `infinite` to completely disable request timeouts. | ||
# | ||
# Explaining the set value: | ||
# The controller holds connections up to 60s for blocking invokes, and | ||
# all other operations are expected to complete quickly. We allow a grace | ||
# period in addition to the blocking invoke timeout. | ||
request-timeout = 90s | ||
// # http://doc.akka.io/docs/akka-http/current/scala/http/configuration.html | ||
// # descriptions inlined below for convenience | ||
akka.http { | ||
server { | ||
# Description: | ||
# If a request hasn't been responded to after the time period set here | ||
# a `spray.http.Timedout` message will be sent to the timeout handler. | ||
# Set to `infinite` to completely disable request timeouts. | ||
# | ||
# Explaining the set value: | ||
# The controller holds connections up to 60s for blocking invokes, and | ||
# all other operations are expected to complete quickly. We allow a grace | ||
# period in addition to the blocking invoke timeout. | ||
request-timeout = 90s | ||
|
||
# Description: | ||
# Enables/disables support for statistics collection and querying. | ||
# Even though stats keeping overhead is small, | ||
# for maximum performance switch off when not needed. | ||
stats-support = off | ||
# Description: | ||
# Enables/disables support for statistics collection and querying. | ||
# Even though stats keeping overhead is small, | ||
# for maximum performance switch off when not needed. | ||
stats-support = off | ||
|
||
# Description: | ||
# The time after which an idle connection will be automatically closed. | ||
# Set to `infinite` to completely disable idle connection timeouts. | ||
# | ||
# Explaining the set value: | ||
# This must be greater than the request timeout. | ||
idle-timeout = 120s | ||
# Description: | ||
# The time after which an idle connection will be automatically closed. | ||
# Set to `infinite` to completely disable idle connection timeouts. | ||
# | ||
# Explaining the set value: | ||
# This must be greater than the request timeout. | ||
idle-timeout = 120s | ||
|
||
parsing { | ||
# This indirectly puts a bound on the name of entities | ||
# 8k matches nginx default | ||
max-uri-length = 8k | ||
parsing { | ||
# This indirectly puts a bound on the name of entities | ||
# 8k matches nginx default | ||
max-uri-length = 8k | ||
|
||
# This is 50MB to allow action attachments | ||
max-content-length = 50m | ||
# This is 50MB to allow action attachments | ||
max-content-length = 50m | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.