Closed pavel-khritonenko closed 6 years ago
Hi,
Is there a reason why you're creating multiple instances of Pusher? It does handle a single instance with multiple channels registered.
I believe it was designed as a single instance mechanism.
Best regards, John
Yes, sorry. It was a mistake in my code when I tried to use the single Pusher. All works as expected.
:) I'll look into fixing that anyways, it shouldn't let you do that :)
I use Pusher for connecting to BitStamp exchange ( https://www.bitstamp.net/websocket/ ) to get orderbooks, and it works for a single currency. If I try to connect to several channels only orderbooks from last connection arrive.
When I try to create multiple Pusher instances, it fails with the error: