Navigation Menu

Skip to content

Commit

Permalink
Ignore invalid value for accept_messages_newer_than
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 8, 2015
1 parent 63fd012 commit 3e14d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/droonga/engine_node.rb
Expand Up @@ -175,7 +175,7 @@ def accept_messages_newer_than_timestamp
end

def parse_accept_messages_newer_than_timestamp
return nil if @state.nil? or not @state.key?("accept_messages_newer_than")
return nil if @state.nil? or @state["accept_messages_newer_than"].nil?
Time.parse(@state["accept_messages_newer_than"])
end

Expand Down

0 comments on commit 3e14d7e

Please sign in to comment.