CurlSettings.

MaxTime Property

Summary

Gets or sets the maximum amount of time the operation is allowed to take.
Assembly
Cake.Curl.dll
Namespace
Cake.Curl
Containing Type
CurlSettings

Syntax

public Nullable<TimeSpan> MaxTime { get; set; }

Remarks

According to curl's documentation, this option is useful to prevent batch jobs from hanging indefinitely. As of version 7.32.0, it's possible to specify decimal values (e.g
0.5
seconds), but keep in mind that the timeout accuracy will decrease as the number of decimal digits increases.

Value

Type Description
Nullable<TimeSpan>

See Also