Navigation Menu

Skip to content

Commit

Permalink
Run serf port observer
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jun 26, 2014
1 parent c4d0914 commit 03be582
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/droonga/command/droonga_engine.rb
Expand Up @@ -237,6 +237,7 @@ def initialize(configuration)

def run
@serf = run_serf
@serf_port_observer = run_serf_port_observer
@service_runner = run_service
@catalog_observer = run_catalog_observer
@loop_breaker = Coolio::AsyncWatcher.new
Expand Down Expand Up @@ -278,6 +279,7 @@ def stop_gracefully
@loop_breaker.signal
@loop_breaker.detach
@serf.shutdown
@serf_port_observer.stop
@catalog_observer.stop
@service_runner.stop_gracefully
end
Expand All @@ -286,6 +288,7 @@ def stop_immediately
@loop_breaker.signal
@loop_breaker.detach
@serf.shutdown
@serf_port_observer.stop
@catalog_observer.stop
@service_runner.stop_immediately
end
Expand Down

0 comments on commit 03be582

Please sign in to comment.