[Groonga-commit] droonga/express-droonga at 1ab00fe [master] Specify subscriber id correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Jan 6 17:29:08 JST 2014


YUKI Hiroshi	2014-01-06 17:29:08 +0900 (Mon, 06 Jan 2014)

  New Revision: 1ab00fef32f9bad4c2c11bac017f23c72693c1f4
  https://github.com/droonga/express-droonga/commit/1ab00fef32f9bad4c2c11bac017f23c72693c1f4

  Message:
    Specify subscriber id correctly

  Modified files:
    lib/adapter/command.js

  Modified: lib/adapter/command.js (+2 -2)
===================================================================
--- lib/adapter/command.js    2014-01-06 16:59:23 +0900 (1860216)
+++ lib/adapter/command.js    2014-01-06 17:29:08 +0900 (7459726)
@@ -156,9 +156,9 @@ HTTPStreaming.extend = function(targetClass) {
       var route = connection.routeToSelf;
       subscriptionMessage.route = route;
     }
-    if (!subscriptionMessage.subscriberID) {
+    if (!subscriptionMessage.subscriber) {
       var subscriberID = sha1sum(route + '#type=' + this.notification + '&id=' + connectionsCount);
-      subscriptionMessage.subscriberID = subscriberID;
+      subscriptionMessage.subscriber = subscriberID;
     }
     connection.emit(this.subscription, subscriptionMessage);
 
-------------- next part --------------
HTML����������������������������...
下載 



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