You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HookManager makes copies of documents (pre and post). Those copies are needed to pass to the hook implementations. The problem is that it can triple the amount of data stored in memory - in case of updates and saves, we have the document which is being returned to the client, document before update (pre) and document after update (post).
Processing hooks in batches or as a stream could solve this problem.
The text was updated successfully, but these errors were encountered:
HookManager makes copies of documents (pre and post). Those copies are needed to pass to the hook implementations. The problem is that it can triple the amount of data stored in memory - in case of updates and saves, we have the document which is being returned to the client, document before update (pre) and document after update (post).
Processing hooks in batches or as a stream could solve this problem.
The text was updated successfully, but these errors were encountered: