Compare commits

...

1 Commits

Author SHA1 Message Date
Flaminel 279bd6d82d Fix Deluge timeout not being configurable (#68) 2025-02-24 18:32:44 +02:00
@@ -62,7 +62,7 @@ public static class MainDI
services services
.AddHttpClient(nameof(DelugeService), x => .AddHttpClient(nameof(DelugeService), x =>
{ {
x.Timeout = TimeSpan.FromSeconds(5); x.Timeout = TimeSpan.FromSeconds(config.Timeout);
}) })
.ConfigurePrimaryHttpMessageHandler(_ => .ConfigurePrimaryHttpMessageHandler(_ =>
{ {