diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Startup.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/slskd/Startup.cs b/src/slskd/Startup.cs index f069c818..200a23fc 100644 --- a/src/slskd/Startup.cs +++ b/src/slskd/Startup.cs @@ -234,7 +234,9 @@ namespace slskd // add a partially configured instance of SoulseekClient. the Application instance will // complete configuration at startup. services.AddSingleton<ISoulseekClient, SoulseekClient>(_ => - new SoulseekClient(options: new SoulseekClientOptions(minimumDiagnosticLevel: OptionsAtStartup.Soulseek.DiagnosticLevel))); + new SoulseekClient(options: new SoulseekClientOptions( + maximumConcurrentUploads: OptionsAtStartup.Limits.Queue.Slots, + minimumDiagnosticLevel: OptionsAtStartup.Soulseek.DiagnosticLevel))); // add the core application service to DI as well as a hosted service so that other services can // access instance methods |
