gavsto/AutomateAPI

Invoke-ControlCommand adaptive polling rate

Closed this issue · 2 comments

The function checks for the task to complete with 1 second delays between checks. Commands with very long timeouts could be checked less frequently, especially as time goes on.

Example: If a command could run up to 10 minutes, after 5 minutes of waiting the polling frequency could change to every 5 or 10 seconds with little impact.

Supported in Development Branch.

Released.