You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
verify-ingest command uses POST to /multihashes endpoint with a fixed batch size of 4096. Depending on the kind of multihashes being verified the batch size alone is not enough to assure that the HTTP request body size is within the range accepted by an indexer. For example, cid.contact instances use nginx as the ingress controller with default request size of 1MiB.
As a result verifications can fail with status code 400 which can be confusing.
Instead of a fixed batch size, consider batching multihashes by a given max request body size and allow the clients to override the max body size with a default of 1MiB.
The text was updated successfully, but these errors were encountered:
verify-ingest
command usesPOST
to/multihashes
endpoint with a fixed batch size of4096
. Depending on the kind of multihashes being verified the batch size alone is not enough to assure that the HTTP request body size is within the range accepted by an indexer. For example, cid.contact instances use nginx as the ingress controller with default request size of 1MiB.As a result verifications can fail with status code 400 which can be confusing.
Instead of a fixed batch size, consider batching multihashes by a given max request body size and allow the clients to override the max body size with a default of 1MiB.
The text was updated successfully, but these errors were encountered: