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

Wait for Pending Requests to Finish #47

Merged
merged 4 commits into from
Apr 30, 2021
Merged

Wait for Pending Requests to Finish #47

merged 4 commits into from
Apr 30, 2021

Conversation

ikreymer
Copy link
Member

Fixes #44, waiting for pending requests to finish (by checking a Redis key)
Also bumps Chrome image to chrome:90

- instead of waiting for 5s, check redis key 'pywb:{coll}:pending' to see if any pending requests are still pending
- keep checking key until pending requests are at 0
- requires latest pywb 2.6.0+
- should fix #44
@ikreymer ikreymer requested a review from emmadickson April 29, 2021 00:26
Copy link
Contributor

@emmadickson emmadickson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@emmadickson emmadickson merged commit 183f8ed into main Apr 30, 2021
@emmadickson emmadickson deleted the pending-req-wait branch April 30, 2021 19:31
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.

Add pending request count in pywb to ensure all requests written to WARC before terminating
2 participants