fix(server): wait before closing pubsub database connection
Add `drain` parameter to `destroy` function to optionally await the `drain` event on the pubsub database client before calling `end`. Expose manager on `pubsweet-server` package root.
Showing
Please register or sign in to comment