Increase default database connections (fixes #3394) (#3994)

image-upload-timeout
Nutomic 2023-09-28 15:56:39 +02:00 committed by GitHub
parent 9275041f42
commit 9bb99bec5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
# Name of the postgres database for lemmy # Name of the postgres database for lemmy
database: "string" database: "string"
# Maximum number of active sql connections # Maximum number of active sql connections
pool_size: 5 pool_size: 95
} }
# Settings related to activitypub federation # Settings related to activitypub federation
# Pictrs image server configuration. # Pictrs image server configuration.

View File

@ -75,7 +75,7 @@ pub struct DatabaseConfig {
pub connection: DatabaseConnection, pub connection: DatabaseConnection,
/// Maximum number of active sql connections /// Maximum number of active sql connections
#[default(5)] #[default(95)]
pub pool_size: usize, pub pool_size: usize,
} }