crossbario / crossbar

Crossbar.io - WAMP application router
https://crossbar.io/
Other
2.05k stars 274 forks source link

Outdated WebSocket options documentation #1830

Open sergio-bershadsky opened 3 years ago

sergio-bershadsky commented 3 years ago

https://crossbar.io/docs/WebSocket-Options/

It says that all timeouts are specified in ms that are 1/1000 of a second but actual timeouts are in seconds.

sergio-bershadsky commented 3 years ago

See: utobahn/asyncio/wamp.py:214

sergio-bershadsky commented 3 years ago

Remark. If this options are specified via json file for crossbar router - values in ms. But if options passed via Component init values are seconds

oberstet commented 3 years ago

yes, that's unfortunately true: https://autobahn.readthedocs.io/en/latest/websocket/programming.html?highlight=timeout#common-options-server-and-client