diff options
| author | JP Dillingham <jp@dillingham.me> | 2025-10-09 19:04:14 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2025-10-09 19:04:14 -0500 |
| commit | a7bba2d2684f6fad2fee3abbb4e7108089c5ab62 (patch) | |
| tree | dbca59e3c75bdd7dfdf4458d4626a05378f2588d /src | |
| parent | e1c77aca06e0add021c67388468fc72de92f1c26 (diff) | |
| download | slskd-a7bba2d2684f6fad2fee3abbb4e7108089c5ab62.tar.gz | |
disable (effectively) the write buffer for connections other than distributed
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Application.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index 48b8fb22..7ebc5d10 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -374,7 +374,7 @@ namespace slskd var connectionOptions = new ConnectionOptions( readBufferSize: OptionsAtStartup.Soulseek.Connection.Buffer.Read, writeBufferSize: OptionsAtStartup.Soulseek.Connection.Buffer.Write, - writeQueueSize: OptionsAtStartup.Soulseek.Connection.Buffer.WriteQueue, + writeQueueSize: int.MaxValue, // no write queue for peer, server or transfer connections connectTimeout: OptionsAtStartup.Soulseek.Connection.Timeout.Connect, inactivityTimeout: OptionsAtStartup.Soulseek.Connection.Timeout.Inactivity, proxyOptions: proxyOptions); |
