Skip to content

Feature/mongo pool config#183

Merged
YukiInu merged 2 commits intotaimos:masterfrom
Lkomarek:feature/mongo-pool-config
Jan 12, 2026
Merged

Feature/mongo pool config#183
YukiInu merged 2 commits intotaimos:masterfrom
Lkomarek:feature/mongo-pool-config

Conversation

@Lkomarek
Copy link

@Lkomarek Lkomarek commented Jan 9, 2026

  • Please check if the PR fulfills these requirements
  • [x ] The commit message describes your change
  • Tests for the changes have been added if possible (for bug fixes / features)
  • [ x] Docs have been added / updated (for bug fixes / features)
  • [x ] Changes are mentioned in the changelog (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Feature enhancement

  • What is the current behavior? (You can also link to an open issue here)

The MongoDB client configuration does not expose connection pool settings. Users cannot configure the minimum/maximum pool size or the maximum idle time for pooled connections. Additionally, the MongoDB client does not set an application name identifier.

  • What is the new behavior (if this is a feature change)?

The MongoDB client now supports three new configuration properties for connection pool management:
mongodb.maxConnectionIdleTime - controls how long idle connections remain in the pool (default: 600000ms / 10 minutes)
mongodb.minPoolSize - sets the minimum number of connections in the pool (default: 10)
mongodb.maxPoolSize - sets the maximum number of connections in the pool (default: 100)

The MongoDB client also now sets the application name for better monitoring and debugging.

  • Does this PR introduce a breaking change? (What changes might users need to make in their setup due to this PR?)

No. All new configuration properties have sensible defaults and are backward compatible. Existing configurations will continue to work without any changes.

  • Other information:

@YukiInu YukiInu merged commit 3d1a62f into taimos:master Jan 12, 2026
2 checks passed
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.

3 participants