Skip to content

Conversation

raclim
Copy link
Collaborator

@raclim raclim commented Aug 22, 2024

Changes:

  • sets the Mongoose option, strictQuery to true before the mongoose connection
  • adds Connection Options selectionTimeoutMS and socketTimeoutMS to try to address timeout errors in server logs
  • use option clientPromise instead of mongooseConnection in MongoStore to adapt better to recent Mongoose 6.x update

I have verified that this pull request:

  • has no linting errors (npm run lint)
  • has no test errors (npm run test)
  • is from a uniquely-named feature branch and is up to date with the develop branch.
  • is descriptively named and links to an issue number, i.e. Fixes #123

Copy link

release-com bot commented Aug 22, 2024

Release Environments

This Environment is provided by Release, learn more!
To see the status of the Environment click on Environment Status below.

🔧Environment Status : https://app.release.com/public/Processing%20Foundation/env-81b377261b

@raclim raclim merged commit 7cec8e5 into develop Aug 22, 2024
4 checks passed
@raclim raclim deleted the task/mongodb-connection branch August 23, 2024 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant