feat: Handle unprocessed requests in `add_requests_batched` by Pijukatel · Pull Request #1159 · apify/crawlee-python
added 2 commits
April 17, 2025 10:23
github-actions
bot
added
t-tooling
labels
Apr 17, 2025
Pijukatel
marked this pull request as ready for review
Pijukatel
deleted the
handle-unprocessed-requests
branch
Mantisus pushed a commit to Mantisus/crawlee-python that referenced this pull request
Apr 24, 2025### Description Adds retry to unprocessed requests in call `add_requests_batched`. Retry calls recursively `_process_batch`, which initially works on full request batch and then on batches of unprocessed requests until retry limit is reached or all requests are processed. Each retry is done after linearly increasing delay with each attempt. Unprocessed requests are not counted in `request_queue.get_total_count` Add test. ### Issues - Closes: [Handle unprocessed requests in batch_add_requests](apify/apify-sdk-python#456)
Mantisus pushed a commit to Mantisus/crawlee-python that referenced this pull request
Apr 24, 2025### Description Adds retry to unprocessed requests in call `add_requests_batched`. Retry calls recursively `_process_batch`, which initially works on full request batch and then on batches of unprocessed requests until retry limit is reached or all requests are processed. Each retry is done after linearly increasing delay with each attempt. Unprocessed requests are not counted in `request_queue.get_total_count` Add test. ### Issues - Closes: [Handle unprocessed requests in batch_add_requests](apify/apify-sdk-python#456)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters