When we call getIdentityUpdates for a large number of inboxes we are getting errors because either the request or response is too large. We should break these requests up into chunks of N items (50?) and send the requests in parallel to the server. We should also put some limits on the number of inbox_ids we allow in each request on the server side.
When we call
getIdentityUpdates
for a large number of inboxes we are getting errors because either the request or response is too large. We should break these requests up into chunks of N items (50?) and send the requests in parallel to the server. We should also put some limits on the number ofinbox_id
s we allow in each request on the server side.https://github.com/xmtp/libxmtp/actions/runs/9168769461/job/25208083384?pr=755