Fix Deluge timeout not being configurable (#68)

This commit is contained in:
Flaminel
2025-02-24 18:32:44 +02:00
committed by GitHub
parent 5dced28228
commit 279bd6d82d

View File

@@ -62,7 +62,7 @@ public static class MainDI
services
.AddHttpClient(nameof(DelugeService), x =>
{
x.Timeout = TimeSpan.FromSeconds(5);
x.Timeout = TimeSpan.FromSeconds(config.Timeout);
})
.ConfigurePrimaryHttpMessageHandler(_ =>
{