feat(iar): allow up to two hours for 10GiB WebDAV transfer
This commit is contained in:
1 parent
c843178ebd
commit
cfb4298222
1 file changed
+3
-1
@@ -73,7 +73,9 @@ namespace NexVerse.Core.Archives
|
||||
catch { socket.Dispose(); throw; }
|
||||
}
|
||||
};
|
||||
m_Http = new HttpClient(handler) { Timeout = TimeSpan.FromMinutes(15) };
|
||||
// A 10 GiB streamed IAR transfer can require more than 15 minutes
|
||||
// on a WireGuard/NAS connection. Keep a finite upper bound.
|
||||
m_Http = new HttpClient(handler) { Timeout = TimeSpan.FromHours(2) };
|
||||
}
|
||||
|
||||
public void Dispose() => m_Http.Dispose();
|
||||
|
||||
Reference in new issue
Block a user