shripadk/sockjs-node — comment on commit b89c5fdf3ddceed63498e54fe3a9e81c832e6e4b
File: src/trans-websocket.coffee line 33
By shripadk:

I have reduce disconnect_delay from 5 seconds for websockets to 15ms. It makes no sense having a 5 second delay.

The 15ms is just for convenience. 0 would return falsy for this: `opt.disconnect_delay || server.options.disconnect_delay`. So I felt a 15ms delay is ok compared to verbose code. :)