taoensso / sente

Realtime web comms library for Clojure/Script
https://www.taoensso.com/sente
Eclipse Public License 1.0
1.74k stars 193 forks source link

Impossible to pass custom settings to the XHR pool #342

Closed p-himik closed 1 year ago

p-himik commented 5 years ago

The client side of my app tries to get all kinds of data upon the first connection - it works perfectly with WS and fails some requests with long polling because :xhr-pool-depleted (default pool size is 10).

I'm not sure if being able to increase the pool size is the correct solution here. Maybe a better way to handle it would be to somehow make Sente wait till there's a free connection. What do you think?

ptaoussanis commented 1 year ago

@p-himik Hi Eugene, apologies for the long delay replying. This will be addressed in the forthcoming Sente v1.18:

Thanks for pinging about this, and again apologies for the delay.