Skip to content

grafserv@1.0.2

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Sep 14:47
046893b

Patch Changes

  • #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]:
    • ruru@2.0.2
    • graphile-config@1.1.1