Navigation Menu

Skip to content

Commit

Permalink
Fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 20, 2015
1 parent eb090bb commit 78ac94c
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions lib/droonga/command/droonga_engine.rb
Expand Up @@ -472,27 +472,27 @@ def stop_gracefully
logger.trace("stop_gracefully: start")
logger.trace("stop_gracefully: stopping serf agent")
stop_serf do
logger.trace("stop_gracefully: stopping command runner")
@command_runner.stop
logger.trace("stop_gracefully: stopping cluster_state_observer")
@cluster_state_observer.stop
logger.trace("stop_gracefully: stopping catalog_observer")
@catalog_observer.stop
logger.trace("stop_gracefully: stopping restart_observer")
@restart_observer.stop
@service_runner.stop_gracefully
logger.trace("stop_gracefully: completely done")
logger.trace("stop_gracefully: stopping command runner")
@command_runner.stop
logger.trace("stop_gracefully: stopping cluster_state_observer")
@cluster_state_observer.stop
logger.trace("stop_gracefully: stopping catalog_observer")
@catalog_observer.stop
logger.trace("stop_gracefully: stopping restart_observer")
@restart_observer.stop
@service_runner.stop_gracefully
logger.trace("stop_gracefully: completely done")
end
logger.trace("stop_gracefully: done")
end

def stop_immediately
stop_serf do
@command_runner.stop
@cluster_state_observer.stop
@catalog_observer.stop
@restart_observer.stop
@service_runner.stop_immediately
@command_runner.stop
@cluster_state_observer.stop
@catalog_observer.stop
@restart_observer.stop
@service_runner.stop_immediately
end
end

Expand Down

0 comments on commit 78ac94c

Please sign in to comment.