All Downloads are FREE. Search and download functionalities are using the official Maven repository.

_service.2.12.4.source-code.application.conf Maven / Gradle / Ivy

The newest version!
pekko {
  loggers = ["org.apache.pekko.event.slf4j.Slf4jLogger"]

  loglevel = "ERROR"

  # Log level for the very basic logger activated during PekkoApplication startup
  # Options: OFF, ERROR, WARNING, INFO, DEBUG
  stdout-loglevel = "ERROR"
  actor {
    default-dispatcher = {
      default-executor {
        fallback = "thread-pool-executor"
      }

      thread-pool-executor {
        # Keep alive time for threads
        keep-alive-time = 60s

        # Min number of threads to cap factor-based core number to
        core-pool-size-min = 50

        # The core pool size factor is used to determine thread pool core size
        # using the following formula: ceil(available processors * factor).
        # Resulting size is then bounded by the core-pool-size-min and
        # core-pool-size-max values.
        core-pool-size-factor = 3.0

        # Max number of threads to cap factor-based number to
        core-pool-size-max = 128

        # Minimum number of threads to cap factor-based max number to
        # (if using a bounded task queue)
        max-pool-size-min = 50

        # Max no of threads (if using a bounded task queue) is determined by
        # calculating: ceil(available processors * factor)
        max-pool-size-factor  = 3.0

        # Max number of threads to cap factor-based max number to
        # (if using a  bounded task queue)
        max-pool-size-max = 128

        # Specifies the bounded capacity of the task queue (< 1 == unbounded)
        task-queue-size = -1

        # Specifies which type of task queue will be used, can be "array" or
        # "linked" (default)
        task-queue-type = "linked"

        # Allow core threads to time out
        allow-core-timeout = on
      }
    }
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy