Merge pull request #1079 from akka/wip-2954-transport-startup-timeout-patriknw
Increase remoting startup/shutdown timeouts, see #2954
This commit is contained in:
commit
6440e385f1
2 changed files with 4 additions and 4 deletions
|
|
@ -60,13 +60,13 @@ akka {
|
||||||
# Timeout after which the startup of the remoting subsystem is considered to be failed.
|
# Timeout after which the startup of the remoting subsystem is considered to be failed.
|
||||||
# Increase this value if your transport drivers (see the enabled-transports section)
|
# Increase this value if your transport drivers (see the enabled-transports section)
|
||||||
# need longer time to be loaded.
|
# need longer time to be loaded.
|
||||||
startup-timeout = 5 s
|
startup-timeout = 10 s
|
||||||
|
|
||||||
# Timout after which the graceful shutdown of the remoting subsystem is considered to be failed.
|
# Timout after which the graceful shutdown of the remoting subsystem is considered to be failed.
|
||||||
# After the timeout the remoting system is forcefully shut down.
|
# After the timeout the remoting system is forcefully shut down.
|
||||||
# Increase this value if your transport drivers (see the enabled-transports section)
|
# Increase this value if your transport drivers (see the enabled-transports section)
|
||||||
# need longer time to stop properly.
|
# need longer time to stop properly.
|
||||||
shutdown-timeout = 5 s
|
shutdown-timeout = 10 s
|
||||||
|
|
||||||
# Before shutting down the drivers, the remoting subsystem attempts to flush all pending
|
# Before shutting down the drivers, the remoting subsystem attempts to flush all pending
|
||||||
# writes. This setting controls the maximum time the remoting is willing to wait before
|
# writes. This setting controls the maximum time the remoting is willing to wait before
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,8 @@ class RemoteConfigSpec extends AkkaSpec(
|
||||||
val settings = RARP(system).provider.remoteSettings
|
val settings = RARP(system).provider.remoteSettings
|
||||||
import settings._
|
import settings._
|
||||||
|
|
||||||
StartupTimeout must be === Timeout(5.seconds)
|
StartupTimeout must be === Timeout(10.seconds)
|
||||||
ShutdownTimeout must be === Timeout(5.seconds)
|
ShutdownTimeout must be === Timeout(10.seconds)
|
||||||
FlushWait must be === 2.seconds
|
FlushWait must be === 2.seconds
|
||||||
UsePassiveConnections must be(true)
|
UsePassiveConnections must be(true)
|
||||||
UntrustedMode must be(false)
|
UntrustedMode must be(false)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue