Open dimitardanailov opened 1 month ago
Why the current pull request has a draft
status ?
The main reason for that is: I've been working on different task. I've a plan to restructure the source code to add a state machine and code splitting between Happy and Unhappy path.
cc: @richardjennings-occrp
The current pull request migrates router structure from single "flat" file to folder structure with sub components and utils. The router component supports three different stats
cc: @tillprochaska and @richardjennings-occrp
I'd like to share my proposal about the following issue: https://github.com/alephdata/aleph/issues/3812
The patch uses two different protection techniques.
#1
state. metadataRequestAttempts
tracks how many attempts are requested to axios REST API layer. The current restrictions toconst MAX_METADATA_REQUEST_ATTEMPTS = 5;
#2
executeRetryPattern
usessetTimeout
.setTimeout
is going to be increased each time if the request has any error.Accomplishments
#1
The previous version executed many request without any delay between requests.#2
The gap between UI pop dialog is increased from a few ms to 2000+ ms.