mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[PR #1278] [CLOSED] feat: DB_OPTIONS__* to replace and extend DATABASE_URL #1227
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#1227
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/lldap/lldap/pull/1278
Author: @thielj
Created: 9/5/2025
Status: ❌ Closed
Base:
main← Head:pr-db_options📝 Commits (3)
f0151caDB Connection Pool configurationf9bdff7fix cargo fmt issues ; add server shutdown log statementebb1fe1feat: DB_OPTIONS (cont.)📊 Changes
4 files changed (+154 additions, -36 deletions)
View changed files
📝
lldap_config.docker_template.toml(+18 -13)📝
server/src/cli.rs(+31 -0)📝
server/src/configuration.rs(+60 -4)📝
server/src/main.rs(+45 -19)📄 Description
PR 2/3 -- should apply independently of PR1.
This PR reorganizes database configuration and adds support for configurable database connection options.
Changes:
lldap_config.docker_template.tomlMotivation:
The new
[db_options]section provides better organization of database-related configuration and allows for more granular control over connection pooling, which can improve performance and resource usage.Breaking Changes:
database_urlnow lives under[db_options]asurlLLDAP_DB_OPTIONS__URLinstead ofLLDAP_DATABASE_URL- same pattern as other sub sectionsTesting:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.