lib/celluloid/supervision/service.rb in celluloid-supervision-0.20.0.pre1 vs lib/celluloid/supervision/service.rb in celluloid-supervision-0.20.0.pre2
- old
+ new
@@ -2,10 +2,16 @@
module Supervision
module Service
class Root < Container
class << self
def define
- super(supervise: Celluloid.actor_system.root_configuration, branch: :root, as: :root, type: self)
+ super({
+ :supervise => Celluloid.actor_system.root_configuration,
+ :as => :root_supervisor,
+ :accessors => [ :root ],
+ :branch => :root,
+ :type => self
+ })
end
def deploy(instances)
super(supervise: instances, branch: :root, as: :root, type: self)
end