File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 11# NEWS
22
3+ ## 0.24.2
4+
5+ This release only adds a fix for an issue where certain GraphQL queries
6+ could lead to ` graph-node ` running out of memory even on very large
7+ systems. This release adds code that checks the size of GraphQL responses
8+ as they are assembled, and can warn about large responses in the logs
9+ resp. abort query execution based on the values of the two new environment
10+ variables ` GRAPH_GRAPHQL_WARN_RESULT_SIZE ` and
11+ ` GRAPH_GRAPHQL_ERROR_RESULT_SIZE ` . It also adds Prometheus metrics
12+ ` query_result_size ` and ` query_result_max ` to track the memory consumption
13+ of successful GraphQL queries. The unit for the two environment variables
14+ are an estimate of the memory used by the result; it is best to set them
15+ based on observing the Prometheus metrics for a while to establish what
16+ constitutes a reasonable limit for them.
17+
18+ We strongly recommend updating to this version as quickly as possible.
19+
320## 0.24.1
421
522### Feature Management
You can’t perform that action at this time.
0 commit comments