1.0.4.624
jonathanpeppers
released this
04 Jun 19:12
·
86 commits
to main
since this release
New features: Network Resiliency
CI systems are somewhat notorious for random networking failures.
Starting in boots 1.0.4, you can control some of this behavior:
--timeout <seconds> Specifies a timeout for HttpClient. If omitted, uses the .NET default of 100 seconds.
--read-write-timeout <seconds> Specifies a timeout for reading/writing from a HttpClient stream. If omitted, uses a default of 300 seconds.
--retries <int> Specifies a number of retries for HttpClient failures. If omitted, uses a default of 3 retries.
This can also be defined in a Cake script with the
BootsSettings
class:
var settings = new BootsSettings {
Channel = ReleaseChannel.Stable,
Product = Product.XamarinAndroid,
Timeout = TimeSpan.FromSeconds (100),
ReadWriteTimeout = TimeSpan.FromMinutes (5),
NetworkRetries = 3,
};
await Boots (settings);