cogment / cogment-verse

Research platform for Human-in-the-loop learning (HILL) & Multi-Agent Reinforcement Learning (MARL)
https://cogment.ai/cogment_verse
Apache License 2.0
80 stars 15 forks source link

Bugfix: Reduce Model Registry GRPC byte size limit #147

Closed wduguay-air closed 1 year ago

wduguay-air commented 1 year ago

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!