[Groonga-commit] droonga/droonga-engine at 6ec30d9 [master] Remove needless conversion of timestamp string to a string

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Apr 23 13:32:04 JST 2015


YUKI Hiroshi	2015-04-23 13:32:04 +0900 (Thu, 23 Apr 2015)

  New Revision: 6ec30d9c654acb4dee8a487a69dc3a98eca54364
  https://github.com/droonga/droonga-engine/commit/6ec30d9c654acb4dee8a487a69dc3a98eca54364

  Message:
    Remove needless conversion of timestamp string to a string

  Modified files:
    lib/droonga/serf.rb

  Modified: lib/droonga/serf.rb (+2 -2)
===================================================================
--- lib/droonga/serf.rb    2015-04-23 13:31:28 +0900 (d9a8c28)
+++ lib/droonga/serf.rb    2015-04-23 13:32:04 +0900 (fa3d4b6)
@@ -201,7 +201,7 @@ module Droonga
     end
 
     def last_processed_message_timestamp=(timestamp)
-      set_tag(Tag.last_processed_message_timestamp, timestamp.to_s)
+      set_tag(Tag.last_processed_message_timestamp, timestamp)
       # after that you must run update_cluster_state to update the cluster information cache
     end
 
@@ -210,7 +210,7 @@ module Droonga
     end
 
     def accept_messages_newer_than(timestamp)
-      set_tag(Tag.accept_messages_newer_than, timestamp.to_s)
+      set_tag(Tag.accept_messages_newer_than, timestamp)
       # after that you must run update_cluster_state to update the cluster information cache
     end
 
-------------- next part --------------
HTML����������������������������...
Descargar 



More information about the Groonga-commit mailing list
Back to archive index