mirror of
https://github.com/C9Glax/tranga.git
synced 2025-09-18 07:39:13 +02:00
Increase Buffer Sizes for npgsql
This commit is contained in:
@@ -63,6 +63,8 @@ NpgsqlConnectionStringBuilder connectionStringBuilder = new()
|
||||
Password = Environment.GetEnvironmentVariable("POSTGRES_PASSWORD") ?? "postgres",
|
||||
ConnectionLifetime = 300,
|
||||
Timeout = 5,
|
||||
ReadBufferSize = 65536,
|
||||
WriteBufferSize = 65536,
|
||||
CommandTimeout = int.Parse(Environment.GetEnvironmentVariable("POSTGRES_COMMAND_TIMEOUT") ?? "60") ,
|
||||
ApplicationName = "Tranga"
|
||||
};
|
||||
|
Reference in New Issue
Block a user