observing / thor

The WebSocket god of thunder
MIT License
1.29k stars 154 forks source link

keep connections alive #39

Open albanm opened 7 years ago

albanm commented 7 years ago

Hello,

I need to benchmark a small application where most of the traffic is going from the server to the client. Basically the client subscribes then wait for occasional messages from the server. It seems like a pretty common use of web sockets by the way.

From what I see in the doc it seems that thor closes its connections right after sending messages. It would be great to specify a delay during which the connections are waiting for descending messages.

Thanks !

xanguera commented 7 years ago

+1 I have the same usecase

PenguinArts commented 6 years ago

+1