update play config - modules are ignored
parent
c10aa5fed0
commit
f3292ffeed
|
@ -13,26 +13,9 @@ net {
|
|||
ratelimit = true
|
||||
}
|
||||
play {
|
||||
# modules are ignored when using compile-time DI
|
||||
# modules {}
|
||||
application.loader = "lila.app.AppLoader"
|
||||
modules {
|
||||
disabled += "play.api.i18n.I18nModule"
|
||||
disabled += "play.api.inject.BuiltinModule"
|
||||
disabled += "play.api.mvc.CookiesModule"
|
||||
disabled += "controllers.AssetsModule"
|
||||
enabled += "play.api.mvc.LegacyCookiesModule"
|
||||
}
|
||||
server {
|
||||
netty {
|
||||
# The maximum length of the initial line. This effectively restricts the maximum length of a URL that the server will
|
||||
# accept, the initial line consists of the method (3-7 characters), the URL, and the HTTP version (8 characters),
|
||||
# including typical whitespace, the maximum URL length will be this number - 18.
|
||||
maxInitialLineLength = 2048 # 4096
|
||||
|
||||
# The maximum length of the HTTP headers. The most common effect of this is a restriction in cookie length, including
|
||||
# number of cookies and size of cookie values.
|
||||
maxHeaderSize = 4096 # 8192
|
||||
}
|
||||
}
|
||||
http {
|
||||
requestHandler = "play.api.http.DefaultHttpRequestHandler"
|
||||
errorHandler = provided
|
||||
|
@ -53,6 +36,18 @@ play {
|
|||
request = 5 minutes
|
||||
}
|
||||
}
|
||||
server {
|
||||
netty {
|
||||
# The maximum length of the initial line. This effectively restricts the maximum length of a URL that the server will
|
||||
# accept, the initial line consists of the method (3-7 characters), the URL, and the HTTP version (8 characters),
|
||||
# including typical whitespace, the maximum URL length will be this number - 18.
|
||||
maxInitialLineLength = 2048 # 4096
|
||||
|
||||
# The maximum length of the HTTP headers. The most common effect of this is a restriction in cookie length, including
|
||||
# number of cookies and size of cookie values.
|
||||
maxHeaderSize = 4096 # 8192
|
||||
}
|
||||
}
|
||||
}
|
||||
app {
|
||||
scheduler {
|
||||
|
@ -439,9 +434,6 @@ fishnet {
|
|||
move.plies = 300
|
||||
client_min_version = "1.15.10"
|
||||
}
|
||||
application {
|
||||
global="lila.app.Global"
|
||||
}
|
||||
insight {
|
||||
mongodb {
|
||||
uri = "mongodb://127.0.0.1:27017/lichess-insight"
|
||||
|
|
Loading…
Reference in New Issue