You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some scenarios, the BluebirdPS user may want to wait for the rate limit reset time to expire and resume the API calls.
Add a new item in BluebirdPS.RateLimitAction enum called Resume.
Add logic to support resuming from a rate limit threshold transgression.
Regardless of how many minutes before the rate limit is reset, pause for 60 seconds to provide feedback to the user.
Provide progress bar for interactive users and forced verbose for non-interactive users (hoping this will work in CI).
Ensure there is a maximum amount of times the process will be resumed to avoid long running executions. Most rate limits reset after 15 minutes. Setting the resume count to 4 would give the user 5 sets of full API call. It's also important to set the MaxResultsPerPage to the maximum allowed for a given command.
Add Paginate() method to BluebirdPS.TwitterRequest to facilitate pagination, including resuming from rate limit.
Move rate limit processing from Write-TwitterResponse to Invoke-TwitterRequest.
Remove implicit default BluebirdPS.Configuration.RateLimitAction. Defaults to 'Verbose`.
The text was updated successfully, but these errors were encountered:
thedavecarroll
changed the title
Add RateLimitResume Property to Configuration and TwitterRequest
Add Capability for Users to Opt-in to Waiting until Rate Limit Reset Time
Nov 24, 2022
thedavecarroll
changed the title
Add Capability for Users to Opt-in to Waiting until Rate Limit Reset Time
Add capability for users to opt-in to waiting until rate limit reset time
Nov 26, 2022
In some scenarios, the BluebirdPS user may want to wait for the rate limit reset time to expire and resume the API calls.
BluebirdPS.RateLimitAction
enum calledResume
.MaxResultsPerPage
to the maximum allowed for a given command.Paginate()
method toBluebirdPS.TwitterRequest
to facilitate pagination, including resuming from rate limit.Write-TwitterResponse
toInvoke-TwitterRequest
.BluebirdPS.Configuration.RateLimitAction
. Defaults to 'Verbose`.The text was updated successfully, but these errors were encountered: