Add retry delay

This commit is contained in:
Dave Hadka
2020-08-17 20:28:35 -05:00
parent 1ef26b2390
commit de52c861c1
3 changed files with 30 additions and 11 deletions
+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.