[PR #1108] [MERGED] Add DATABASE_MAX_CONNS config setting #3527

Open
opened 2025-10-09 18:25:04 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/1108
Author: @rfwatson
Created: 8/21/2020
Status: Merged
Merged: 10/10/2020
Merged by: @dani-garcia

Base: masterHead: add-db-connections-setting


📝 Commits (1)

  • b9daa59 Add DATABASE_MAX_CONNS config setting

📊 Changes

3 files changed (+18 additions, -1 deletions)

View changed files

📝 .env.template (+4 -0)
📝 src/config.rs (+10 -0)
📝 src/db/mod.rs (+4 -1)

📄 Description

Tiny change to allow the database connection pool size to be configured externally (useful for those of us deploying to databases with limited connection count allowances)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/1108 **Author:** [@rfwatson](https://github.com/rfwatson) **Created:** 8/21/2020 **Status:** ✅ Merged **Merged:** 10/10/2020 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `master` ← **Head:** `add-db-connections-setting` --- ### 📝 Commits (1) - [`b9daa59`](https://github.com/dani-garcia/vaultwarden/commit/b9daa59e5d05f1050e6ba4199352953493a57dfb) Add DATABASE_MAX_CONNS config setting ### 📊 Changes **3 files changed** (+18 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.env.template` (+4 -0) 📝 `src/config.rs` (+10 -0) 📝 `src/db/mod.rs` (+4 -1) </details> ### 📄 Description Tiny change to allow the database connection pool size to be configured externally (useful for those of us deploying to databases with limited connection count allowances) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2025-10-09 18:25:04 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#3527