Changelog
This is a patch release for v2.50.
Bug fixes and improvements
Server
- Fix an issue that caused memory from the schema present at engine startup to be retained after the metadata is updated, for instance with
replace_metadata. Formerly this could manifest in as much as a doubling of memory usage. - Alter and fix some behavior of the new bounded websocket queues:
- a write to an over-capacity websocket queue now enqueues an error for that operation, and in the case of subscriptions, cancels the subscription (the queue no longer evicts); this protects against unbounded memory usage during network issues, while preserving correctness relative to the first implementation of bounded websocket queues
- fix:
HASURA_GRAPHQL_WEBSOCKET_QUEUE_SIZEwas previously silently ignored hasura_websocket_messages_evicted_totalmetric removed,hasura_websocket_messages_dropped_totaladdedhasura_websocket_messages_queued_totalno longer counts keepalives as they no longer can accumulate