From 574ec6b149dd04daf885b8d33ce096b7e6b3431d Mon Sep 17 00:00:00 2001
From: Xiao Gui <xgui3783@gmail.com>
Date: Tue, 19 Sep 2023 11:31:23 +0200
Subject: [PATCH] fix: retry 60 times for annotation layer

---
 src/atlasComponents/userAnnotations/tools/service.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/atlasComponents/userAnnotations/tools/service.ts b/src/atlasComponents/userAnnotations/tools/service.ts
index bb0b092d7..a7338ee12 100644
--- a/src/atlasComponents/userAnnotations/tools/service.ts
+++ b/src/atlasComponents/userAnnotations/tools/service.ts
@@ -480,7 +480,7 @@ export class ModularUserAnnotationToolService implements OnDestroy{
             })
             
             return this.annotationLayer
-          })
+          }, { retries: 60, timeout: 1000 })
           ).pipe(
             map(annotationLayer => ({viewerMode, annotationLayer}))
           )
-- 
GitLab