From b8aae751f95e1d3cb42a3de666f79a95e5acbc32 Mon Sep 17 00:00:00 2001 From: Andrea Rocco Lotronto Date: Sun, 14 Jun 2015 18:55:17 +0200 Subject: [PATCH] production setting --- .crossbar/config.json | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.crossbar/config.json b/.crossbar/config.json index 2371cfe..91f7e12 100644 --- a/.crossbar/config.json +++ b/.crossbar/config.json @@ -1,4 +1,3 @@ - { "controller": { }, @@ -26,20 +25,17 @@ ], "transports": [ { - "type": "web", + "type": "websocket", "endpoint": { "type": "tcp", "port": 8181 }, - "paths": { - "/": { - "type": "static", - "directory": ".." - }, - "ws": { - "type": "websocket" - } - } + "options":{ + "fail_by_drop": true, + "auto_ping_interval": 10000, + "auto_ping_timeout": 5000, + "auto_ping_size": 4 + } } ] }