View Source Avalanche.Steps.Poll (Avalanche v0.13.0)
A custom Req
pipeline step to poll for the completion of an asynchronous or long (> 45 seconds) query.
Summary
Functions
Polls for the completion of a statement execution if async is false.
Functions
Polls for the completion of a statement execution if async is false.
:request
- the request:disable
- set to true to disable polling for this request
Options
:delay
- sleep this number of milliseconds between attempts, defaults to1000
:max_attempts
- maximum number of poll attempts, defaults to5
(for a total of5
requests to the server, including the initial one.)