Sha256: cf29c1fe04aa3c073c6f1239b90f8b61af7644333b16a46765c23c3e62c442ba

Contents?: true

Size: 1.48 KB

Versions: 2

Compression:

Stored size: 1.48 KB

Contents

cluster {

default-pinned-dispatcher {
  executor = thread-pool-executor
  type = PinnedDispatcher
  thread-pool-executor.keep-alive-time = 315360000s
  # note that disabling core timeout altogether doesn't work
  # until ticket 2856 is fixed
  thread-pool-executor.allow-core-timeout = off
}

  akka {

    cluster {
      #seed-nodes = [SEEDS]
      acceptable-heartbeat-pause = 10 s
      auto-down-unreachable-after = 10s
    }

    #log-config-on-start = on
    log-dead-letters = "off"
    actor.debug.unhandled = "on"   
    jvm-exit-on-fatal-error=false
    loglevel = "INFO"

  actor {
    serializers {
      java = "akka.serialization.JavaSerializer"
      bytes = "akka.serialization.ByteArraySerializer"
      myown = "com.game_machine.core.EntitySerializer"
    }

    serialization-bindings {
      "[B" = bytes
      "com.dyuproject.protostuff.Message" = myown
      "GameMachine.Messages.ClientMessage" = myown
      "GameMachine.Messages.Entity" = myown
      "GameMachine.Messages.ObjectdbGet" = myown
      "GameMachine.Messages.ObjectdbPut" = myown
      "GameMachine.Messages.ObjectdbUpdate" = myown
      "java.io.Serializable" = java
      
    }
    provider = "akka.cluster.ClusterActorRefProvider"
    #serialize-messages = on
    #serialize-creators = on
  }
  remote {
    log-remote-lifecycle-events = off


    netty.tcp {
      hostname = "HOST"
      port = PORT
    }
 }
  }

  akka.actor.deployment {
    /inbound {
      router = round-robin
      nr-of-instances = 10
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
game_machine-1.0.4 config/cluster.conf
game_machine-1.0.2 config/cluster.conf