Skip to content

Bug: Synchronous for loop #2

@programVeins

Description

@programVeins

Make for loop asynchronous

  • For loop for numRetries in ApiCall is executed synchronously, so only after the (numRetries + 1)th iteration, the first response is fetched.
  • Check for node's health must be initiated before the next iteration - for loop must run asynchronously.
  • Check Node health at each iteration and loop depending on that

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions