Open Olisail opened 1 year ago
When an incident occurs, in some cases, the API call ends up hanging up indefinitely. I suggest setting up at least the -TimeoutSec option.
-TimeoutSec
A retry pattern could be added too.
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-restmethod?view=powershell-7.3#-timeoutsec
When an incident occurs, in some cases, the API call ends up hanging up indefinitely. I suggest setting up at least the
-TimeoutSec
option.A retry pattern could be added too.