graphile-build-pg@5.1.4
Patch Changes
-
#3143
321ea65
Thanks @nick-kang! - Apply
pgSettingsForIntrospectionwhen reading enum table values. -
#3116
19af784
Thanks @benjie! - Address a slow memory leak in
GraphQL subscriptions that can cause OOM errors when a single subscription
hits many hundreds of thousands of events. The cause was racing an
abortPromise with each event, causing the abort promise to build up a large
list of callbacks in its internal Promise mechanics when the event always won
the race. The fix was to move from using a promise for abort to an
AbortController, where the abort task can be released after each event
successfully resolves, avoiding memory buildup. Also applied this fix to
similar patterns elsewhere in the codebase, albeit places much less sensitive
to this issue. -
Updated dependencies
[4d113fa]:- graphile-config@1.1.1