Adds a delay (sleep) when getting storedFlushId from the executor/hashdb. Today updateProverIdAndFlushId function when it needs to get the storedFlushId from executor/hashdb, it loops continously sending the request to executor/hashdb to get the last storedFlushid, but that polling is without any delay between retries, therefore can have some impact in the executor/hashdb performance. This PR adds configurable delay between retries to avoid to overhead executor/hashdb with these requests.
What does this PR do?
Adds a delay (sleep) when getting storedFlushId from the executor/hashdb. Today updateProverIdAndFlushId function when it needs to get the storedFlushId from executor/hashdb, it loops continously sending the request to executor/hashdb to get the last storedFlushid, but that polling is without any delay between retries, therefore can have some impact in the executor/hashdb performance. This PR adds configurable delay between retries to avoid to overhead executor/hashdb with these requests.
New configuration parameter has been added:
Reviewers
Main reviewers:
@ToniRamirezM