[ARVADOS] updated: 0ef7495b59056c8f115a42bd843ce432c9282e8c

git at public.curoverse.com git at public.curoverse.com
Mon Jun 9 17:05:47 EDT 2014


Summary of changes:
 services/api/app/middlewares/rack_socket.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  0ef7495b59056c8f115a42bd843ce432c9282e8c (commit)
      from  73688a1ef6387fe8a8b1b2f09a8936198f79d66e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 0ef7495b59056c8f115a42bd843ce432c9282e8c
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Mon Jun 9 17:05:43 2014 -0400

    Specify server-side keep-alive ping interval for websockets.  no issue #

diff --git a/services/api/app/middlewares/rack_socket.rb b/services/api/app/middlewares/rack_socket.rb
index 795df4a..19350c4 100644
--- a/services/api/app/middlewares/rack_socket.rb
+++ b/services/api/app/middlewares/rack_socket.rb
@@ -69,7 +69,7 @@ class RackSocket
   def call env
     request = Rack::Request.new(env)
     if request.path_info == @endpoint and Faye::WebSocket.websocket?(env)
-      ws = Faye::WebSocket.new(env)
+      ws = Faye::WebSocket.new(env, nil, :ping => 30)
 
       # Notify handler about new connection
       @handler.on_connect ws

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list