play.reference-overrides.conf Maven / Gradle / Ivy
#
# Copyright (C) 2009-2015 Typesafe Inc.
#
# Hack to override some of Akka's defaults in Play
# Play's config file loading logic will load this file with a higher
# priority than reference.conf, but a lower priority than application.conf.
# That allows Play to override Akka's reference.conf (which can't happen
# from in Play's own reference.conf), but still allow users to override
# Play's settings in their application.conf.
akka {
# Play applications don't want to exit when Akka receives a fatal error.
jvm-exit-on-fatal-error = off
actor {
default-dispatcher = {
fork-join-executor {
# Settings this to 1 instead of 3 seems to improve performance.
parallelism-factor = 1.0
# @richdougherty: Not sure why this is set below the Akka
# default.
parallelism-max = 24
# Setting this to LIFO changes the fork-join-executor
# to use a stack discipline for task scheduling. This usually
# improves throughput at the cost of possibly increasing
# latency and risking task starvation (which should be rare).
task-peeking-mode = LIFO
}
}
}
# Tell akka to use Slf4jLogger and filter
loggers = ["akka.event.slf4j.Slf4jLogger"]
logging-filter = "akka.event.slf4j.Slf4jLoggingFilter"
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy