Files
PowerCLI-Example-Scripts/Modules
Brian Wuchner 80622414d6 Update VMware.Skyline.InsightsApi.psm1
Apologies for the delay on getting this commit to address the final open item in the PR.  This change removes the "hit a 429 and retry" logic as it was not effective.  Replaced it with a global variable that stores the time of the last query.  If a query has happened within the last 501ms we wait before sending.  I've issued a few thousand queries with this logic added and have not yet hit the 429 error.  The logic to find and report on 429's in a more friendly way still exists, just in case.

Additionally I've implemented a counter to track number of queries that is reset by Connect-SkylineInsights, to track how many queries are executed.  This was more of a debugging tool, but felt the overhead was low enough to leave it in for future troubleshooting.

Signed-off-by: Brian Wuchner <brian.wuchner@gmail.com>
2022-05-13 11:14:46 -04:00
..
2022-01-11 20:25:22 -05:00
2022-02-12 11:47:10 -05:00
2018-05-30 19:53:01 +02:00
2018-04-25 22:48:38 +02:00
2017-10-04 14:26:05 -07:00
2018-11-30 17:15:13 +08:00
2020-02-09 08:08:01 -08:00
2016-07-07 21:04:40 -04:00