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

Pending count #637

Merged
merged 2 commits into from
Apr 28, 2021
Merged

Pending count #637

merged 2 commits into from
Apr 28, 2021

Conversation

ikreymer
Copy link
Member

@ikreymer ikreymer commented Apr 28, 2021

Description

When using the dedup redis index, also track the number of pending requests in Redis, defaulting to the key pywb:{coll}:pending.
This allows automated processes that use pywb for recording to detect when pywb is fully done recording data to WARC and may be exited.
Supports webrecorder/browsertrix-crawler#44

Motivation and Context

Screenshots (if appropriate):

Types of changes

  • Replay fix (fixes a replay specific issue)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added or updated tests to cover my changes.
  • All new and existing tests passed.

@ikreymer ikreymer merged commit abb7691 into main Apr 28, 2021
omgoo added a commit to mirrorweb/pywb that referenced this pull request Apr 29, 2021
@ikreymer ikreymer deleted the pending-count branch June 9, 2021 19:24
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