lay-alone_2.11.2.5.3-1.source-code.reference.conf Maven / Gradle / Ivy
The newest version!
#
# Copyright (C) 2009-2016 Lightbend Inc.
#
# Reference configuration for Play
#default timeout for promises
# @richdougherty: Is this used any more?
promise.akka.actor.typed.timeout=5s
# [email protected]
# + Remove http, i18n, crypto settings, application.loader
# + remove modules setting: `enabled += "play.api.i18n.I18nModule"`
play {
modules {
# The enabled modules that should be automatically loaded.
enabled += "play.api.inject.BuiltinModule"
# enabled += "play.api.i18n.I18nModule"
# A way to disable modules that are automatically enabled
disabled = []
}
akka {
# The name of the actor system that Play creates
actor-system = "application"
# How long Play should wait for Akka to shutdown before timing it. If null, waits indefinitely.
shutdown-timeout = null
# The location to read Play's Akka configuration from
config = "akka"
# The blocking IO dispatcher, used for serving files/resources from the file system or classpath.
blockingIoDispatcher {
fork-join-executor {
parallelism-factor = 3.0
}
}
# The dev mode actor system. Play typically uses the application actor system, however, in dev mode, an actor
# system is needed that outlives the application actor system, since the HTTP server will need to use this, and it
# lives through many application (and therefore actor system) restarts.
dev-mode {
# Turn off dead letters until Akka HTTP server is stable
log-dead-letters = off
# Disable Akka-HTTP's transparent HEAD handling. so that play's HEAD handling can take action
http.server.transparent-head-requests = false
}
}
}