Problem
Hi. I'm subscribing to multiple accounts using the "accountSubscribe" RPC method. Those addresses belong to Serum eventqueues, whose data field takes 1 MB. I'm also using a heartbeat to prevent idle timeouts in the connection.
Problem is that after successfully subscribing to 50 different addresses and receiving a result response for each one of them, the server, at some point, stops sending accountNotification responses and replying to the pings. The connection just stays open and idle (the server never closes it).
This scenario happens on both endpoints of the Mainnet Beta. We're also making sure that we aren't hitting the rate limits described there.
When subscribing to Serum asks and bids addresses the connection works perfectly and we don't experience this issue at all.
Any ideas on what might be going on there?