opral / inlang-message-sdk

0 stars 0 forks source link

Node Warning: `11 abort listeners added to [AbortSignal]...` #57

Closed jldec closed 1 month ago

jldec commented 1 month ago

MESDK-96

Context

As a final check on PR #2734 I ran the load-test using the old plugin persistence (instead of new experimental persistence

It worked fine, but I got an unusal warning the 2nd time I ran the translation (with all messages already translated). I verified that this issue was also present before the PR.

(node:15668) MaxListenersExceededWarning: Possible EventTarget memory leak detected. 11 abort listeners added to [AbortSignal]. Use events.setMaxListeners() to increase limit

Could this be a result of this code in recent PR #2709 ?

Proposal

Please investigate.