Turning remote compression off by default, closing ticket #1083

This commit is contained in:
Viktor Klang 2011-08-07 19:23:25 +02:00
parent 06fe2d590e
commit 4cd4917f9f
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ object RemoteServerSettings {
val UNTRUSTED_MODE = config.getBool("akka.cluster.server.untrusted-mode", false)
val PORT = config.getInt("akka.cluster.server.port", 2552)
val CONNECTION_TIMEOUT_MILLIS = Duration(config.getInt("akka.cluster.server.connection-timeout", 1), TIME_UNIT)
val COMPRESSION_SCHEME = config.getString("akka.cluster.compression-scheme", "zlib")
val COMPRESSION_SCHEME = config.getString("akka.cluster.compression-scheme", "")
val ZLIB_COMPRESSION_LEVEL = {
val level = config.getInt("akka.cluster.zlib-compression-level", 6)
if (level < 1 && level > 9) throw new IllegalArgumentException(

View file

@ -190,7 +190,7 @@ akka {
remote-daemon-ack-timeout = 30 # Timeout for ACK of cluster operations, lik checking actor out etc.
include-ref-node-in-replica-set = on # Can a replica be instantiated on the same node as the cluster reference to the actor
# Default: on
compression-scheme = "zlib" # Options: "zlib" (lzf to come), leave out for no compression
compression-scheme = "" # Options: "zlib" (lzf to come), leave out for no compression
zlib-compression-level = 6 # Options: 0-9 (1 being fastest and 9 being the most compressed), default is 6
# FIXME rename to transport