Skip to content

Commit 62485f6

Browse files
committed
fix: reverting retry count change
1 parent e6cf214 commit 62485f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

brozzler/worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ def brozzle_site(self, browser, site):
720720
seconds=retry_delay
721721
)
722722
page.failed_attempts = (page.failed_attempts or 0) + 1
723-
if page.failed_attempts > brozzler.MAX_PAGE_FAILURES:
723+
if page.failed_attempts >= brozzler.MAX_PAGE_FAILURES:
724724
self.logger.info(
725725
'marking page "completed" after several unexpected '
726726
"exceptions attempting to brozzle",

0 commit comments

Comments
 (0)