arweave-uploader
Advanced tools
Comparing version 1.1.8 to 1.1.9
@@ -100,8 +100,8 @@ "use strict"; | ||
status = _a.sent(); | ||
wait = 24; | ||
wait = 60; | ||
_a.label = 7; | ||
case 7: | ||
if (!((status === 404 || status === 410) && wait--)) return [3, 13]; | ||
logger_1.logger(uRef, 'Initial 4XX detected. Waiting 5 seconds...', status); | ||
return [4, utils_1.sleep(5000)]; | ||
logger_1.logger(uRef, "Initial " + status + " detected. Waiting 30 seconds...", status); | ||
return [4, utils_1.sleep(30000)]; | ||
case 8: | ||
@@ -108,0 +108,0 @@ _a.sent(); |
{ | ||
"name": "arweave-uploader", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
# arweave-uploader (work in progress) | ||
Arweave Uploader - detect and handle arweave upload failures | ||
Arweave Uploader - detect and handle arweave upload failures. It attempts high fault tolerance, so not really suitable for non-automated systems (very long timeouts). | ||
** N.B. this only works for value transfer or very small data txs | ||
** N.B. Warning! Tx retry will create multiple txs during periods of unusually high network/gateway load | ||
** N.B. Warning! Tx retry may create multiple txs during periods of unusually high network/gateway load | ||
@@ -8,0 +8,0 @@ ## Installation |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
176742