Navigation Menu

Skip to content

Commit

Permalink
Load last processed timetamp from file for newly started process
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 28, 2015
1 parent 3afb045 commit f859a62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/droonga/engine.rb
Expand Up @@ -146,6 +146,9 @@ def create_dispatcher

def export_last_message_timestamp_to_cluster
logger.trace("export_last_message_timestamp_to_cluster: start")
unless @last_message_timestamp
@last_message_timestamp = read_last_message_timestamp
end
if @last_message_timestamp
timestamp = @last_message_timestamp
serf = Serf.new(@name)
Expand Down

0 comments on commit f859a62

Please sign in to comment.