Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use batch update instead of update incidents one by one; add progress… #82

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

s3265176
Copy link

… bay; retry smaller batch when batch fails

Link back to Jira ticket:

Description

From pdpyras >= 2.1.0 the Official Pager Duty update API can do batch update
Current one by one update takes too long.
There is no progress bar and good to have one.

Implementation

include package tqdm for simple progress bar
Hitting new api endpoint https://api.pagerduty.com/incidents for batch update
Auto re-try smaller batch size when a single batch fails

Steps to test changes

Documentation

No additional documentation needed.

Links to any documentation to be updated:

… bay; retry smaller batch when batch fails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant