Navigation Menu

Skip to content

Commit

Permalink
Make method name more meaningful
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jan 16, 2015
1 parent 8938aad commit 3cb9997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/droonga-engine-join
Expand Up @@ -45,7 +45,7 @@ class JoinCommand
set_node_role
do_join
sleep(5) #TODO: wait for restarting of the joining node. this should be done more safely.
do_copy unless @options["no-copy"]
monitor_copying_state unless @options["no-copy"]
set_effective_message_timestamp
update_other_nodes
reset_node_role
Expand Down Expand Up @@ -184,7 +184,7 @@ class JoinCommand
"copy" => !@options["no-copy"])
end

def do_copy
def monitor_copying_state
@start_time_in_seconds = Time.new.to_i
puts("Copying data from the source node...")
last_progress = ""
Expand Down

0 comments on commit 3cb9997

Please sign in to comment.