Add retry delay

This commit is contained in:
Dave Hadka committed 2020-08-17 20:28:35 -05:00
1 parent a54758037a
commit cb220a0947
3 files changed
+30 -11

No files matched your search

+3
View File
@@ -11,6 +11,9 @@ export enum CompressionMethod {
Zstd = 'zstd'
}
// The default delay in milliseconds between retry attempts.
export const RetryDelay = 5000
// Socket timeout in milliseconds during download. If no traffic is received
// over the socket during this period, the socket is destroyed and the download
// is aborted.