isra17 / autobahn-autoreconnect

Python Autobahn runner with auto-reconnect feature
GNU General Public License v2.0
19 stars 10 forks source link

Use a more conservative autoPingTimeout and make it user-configurable #8

Closed ghost closed 8 years ago

ghost commented 8 years ago

Doing a bit more testing it seems that a timeout of 2 was too low, resulting in frequent connection "drops" just because the server was a little slow to respond.

Increased the timeout to a more conservative value, and made it user configurable via the extra dict. A value of None for either option turns off automatic pings.

isra17 commented 8 years ago

Thanks!