diff --git a/README.md b/README.md index fdf8e7e..40a1235 100755 --- a/README.md +++ b/README.md @@ -298,6 +298,7 @@ _Note that for the `producer` mode, the prebuild build phase and `xccc`, `xcld`, | `stats_dir` | Directory where all XCRemoteCache statistics (e.g. counters) are stored | `~/.xccache` | ⬜️ | | `download_retries` | Number of retries for download requests | `0` | ⬜️ | | `upload_retries` | Number of retries for upload requests | `3` | ⬜️ | +| `retryDelay` | Delay between retries in seconds | `10` | ⬜️ | | `request_custom_headers` | Dictionary of extra HTTP headers for all remote server requests | `[]` | ⬜️ | | `thin_target_mock_filename` | Filename (without an extension) of the compilation input file that is used as a fake compilation for the forced-cached target (aka thin target) | `standin` | ⬜️ | | `focused_targets` | A list of all targets that are not thinned. If empty, all targets are meant to be non-thin | `[]` | ⬜️ | diff --git a/Sources/XCRemoteCache/Config/XCRemoteCacheConfig.swift b/Sources/XCRemoteCache/Config/XCRemoteCacheConfig.swift index 29afdd8..4a2c251 100644 --- a/Sources/XCRemoteCache/Config/XCRemoteCacheConfig.swift +++ b/Sources/XCRemoteCache/Config/XCRemoteCacheConfig.swift @@ -83,7 +83,7 @@ public struct XCRemoteCacheConfig: Encodable { var downloadRetries: Int = 0 /// Number of retries for upload requests var uploadRetries: Int = 3 - /// Delay between retries + /// Delay between retries in seconds var retryDelay: Double = 10.0 /// Extra headers appended to all remote HTTP(S) requests var requestCustomHeaders: [String: String] = [:]