[PR #1023] [MERGED] server: Only use a single connection with SQlite #1078

Closed
opened 2026-02-27 09:10:49 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lldap/lldap/pull/1023
Author: @nitnelave
Created: 10/30/2024
Status: Merged
Merged: 10/30/2024
Merged by: @nitnelave

Base: mainHead: sqlite


📝 Commits (1)

  • 884031d server: Only use a single connection with SQlite

📊 Changes

2 files changed (+12 additions, -1 deletions)

View changed files

📝 server/src/infra/database_string.rs (+6 -0)
📝 server/src/main.rs (+6 -1)

📄 Description

Several writer connections can lock the DB and cause other inserts to fail.

A single connection should be enough given the usual workloads

Fixes #1021


🔄 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/lldap/lldap/pull/1023 **Author:** [@nitnelave](https://github.com/nitnelave) **Created:** 10/30/2024 **Status:** ✅ Merged **Merged:** 10/30/2024 **Merged by:** [@nitnelave](https://github.com/nitnelave) **Base:** `main` ← **Head:** `sqlite` --- ### 📝 Commits (1) - [`884031d`](https://github.com/lldap/lldap/commit/884031d9e62b95aaec091a55b2a9dc776123eedd) server: Only use a single connection with SQlite ### 📊 Changes **2 files changed** (+12 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/src/infra/database_string.rs` (+6 -0) 📝 `server/src/main.rs` (+6 -1) </details> ### 📄 Description Several writer connections can lock the DB and cause other inserts to fail. A single connection should be enough given the usual workloads Fixes #1021 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 09:10:49 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#1078
No description provided.