Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow maxPoolSize to be configurable by env var (defaults to 50) #4688

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

nick-funk
Copy link
Contributor

What does this PR do?

  • allows maxPoolSize in the MongoDB client to be configurable by env var (defaults to 50)
  • env is defined as MONGODB_MAX_POOL_SIZE

These changes will impact:

  • commenters
  • moderators
  • admins
  • developers

What changes to the GraphQL/Database Schema does this PR introduce?

None

Does this PR introduce any new environment variables or feature flags?

  • MONGODB_MAX_POOL_SIZE
    • type: Number
    • defaults to: 50

If any indexes were added, were they added to INDEXES.md?

N/A

How do I test this PR?

  • Start up Coral
  • See that it runs fine

Were any tests migrated to React Testing Library?

No

How do we deploy this PR?

  • Merge to develop
  • Create release
  • Deploy wherever you think makes sense

- env is defined as `MONGODB_MAX_POOL_SIZE`
Copy link

netlify bot commented Oct 31, 2024

Deploy Preview for gallant-galileo-14878c canceled.

Name Link
🔨 Latest commit 53dae81
🔍 Latest deploy log https://app.netlify.com/sites/gallant-galileo-14878c/deploys/6723dabcb5820f0008c029cd

@tessalt tessalt merged commit cd56de7 into develop Oct 31, 2024
6 checks passed
@tessalt tessalt deleted the feat/env-mongodb-max-pool-size branch October 31, 2024 19:48
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.

2 participants