Skip to content

Commit 636c3f0

Browse files
committed
NEWS.md: Release 0.24.2
1 parent cf1854f commit 636c3f0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

NEWS.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
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

0 commit comments

Comments
 (0)