Navigation Menu

Skip to content

Commit

Permalink
Use more meaningful name
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 30, 2015
1 parent 3c4237f commit 762f0f7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/droonga/engine_node.rb
Expand Up @@ -191,7 +191,7 @@ def create_buffer
buffer
end

def have_unprocessed_messages?
def have_unprocessed_messages_in_other_node?
@state and @state["have_unprocessed_messages"]
end

Expand Down Expand Up @@ -221,7 +221,8 @@ def absorb_destination?
end

def complete_service_provider?
service_provider? and not have_unprocessed_messages?
service_provider? and
not have_unprocessed_messages_in_other_node?
end

def really_writable?
Expand Down

0 comments on commit 762f0f7

Please sign in to comment.