[Groonga-commit] droonga/express-droonga at deb05d3 [master] Store the subscriber id as a hash

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Oct 17 18:06:01 JST 2013


YUKI Hiroshi	2013-10-17 18:06:01 +0900 (Thu, 17 Oct 2013)

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

  Message:
    Store the subscriber id as a hash

  Modified files:
    lib/adapter/socket.io.js

  Modified: lib/adapter/socket.io.js (+1 -0)
===================================================================
--- lib/adapter/socket.io.js    2013-10-17 17:57:53 +0900 (ea2c638)
+++ lib/adapter/socket.io.js    2013-10-17 18:06:01 +0900 (8a2a2fa)
@@ -168,6 +168,7 @@ exports.register = function(application, server, params) {
     application.emit('connection', socket);
 
     var watchSubscriber = connection.getRouteToSelf({ sessionId: socket.id });
+    watchSubscriber = command.sha1sum(watchSubscriber);
 
     registeredCommands.forEach(function(registeredCommand) {
       if (command.PublishSubscribe.isInstance(registeredCommand.definition)) {
-------------- next part --------------
HTML����������������������������...
Download 



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