YUKI Hiroshi
null+****@clear*****
Thu Oct 31 12:08:59 JST 2013
YUKI Hiroshi 2013-10-31 12:08:59 +0900 (Thu, 31 Oct 2013) New Revision: f592656bfceb21e7358a5ab7e802b2e5695a095f https://github.com/droonga/fluent-plugin-droonga/commit/f592656bfceb21e7358a5ab7e802b2e5695a095f Message: Save last_modified for new subscriber Modified files: lib/droonga/watcher.rb Modified: lib/droonga/watcher.rb (+2 -1) =================================================================== --- lib/droonga/watcher.rb 2013-10-31 11:49:05 +0900 (7916aab) +++ lib/droonga/watcher.rb 2013-10-31 12:08:59 +0900 (266cf73) @@ -33,7 +33,8 @@ module Droonga query_record = query_table[query] unless query_record keywords = pick_keywords([], condition) - query_record = query_table.add(query, :keywords => keywords) + query_record = query_table.add(query, :keywords => keywords, + :last_modified => Time.now) end subscriber_table = @context["Subscriber"] subscriber_record = subscriber_table[subscriber] -------------- next part -------------- HTML����������������������������... Download