In a previous PR, I unintentionally increase the cogment-verse model registry's grpc byte size limit from 2MB (safe limit) to the actual limit of 4MB. This caused some grpc errors: StatusCode.RESOURCE_EXHAUSTED when publishing some models.
This PR restores the original value.
Solution
Divide the limit again by 2.
Testing
I will add a smoke test in the Model Registry PR to test publishing a larger model, to make sure this does not happen again!
Context
In a previous PR, I unintentionally increase the cogment-verse model registry's grpc byte size limit from 2MB (safe limit) to the actual limit of 4MB. This caused some grpc errors: StatusCode.RESOURCE_EXHAUSTED when publishing some models.
This PR restores the original value.
Solution
Divide the limit again by 2.
Testing
I will add a smoke test in the Model Registry PR to test publishing a larger model, to make sure this does not happen again!