From 00a638b208b664d4b3ec46fd1050f8e3f486fa8e Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Thu, 15 Feb 2024 23:35:12 +0100 Subject: [PATCH] set manual retry only then chunk upload fails --- src/app/shared/publication/upload/upload-streaming.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shared/publication/upload/upload-streaming.service.ts b/src/app/shared/publication/upload/upload-streaming.service.ts index a8fabe0da..e90625d5e 100644 --- a/src/app/shared/publication/upload/upload-streaming.service.ts +++ b/src/app/shared/publication/upload/upload-streaming.service.ts @@ -248,9 +248,9 @@ export class PublicationFormMV { } while (attemp<3 && result.isErr() && result?.error == 'slow') - PublicationAttachmentEntity.chucksManager.setManualRetry() if(result.isErr()) { + PublicationAttachmentEntity.chucksManager.setManualRetry() resolve(false) } else { const guid = PublicationAttachmentEntity.chucksManager.path