Add a comment about the content of self._last_backout

This commit is contained in:
Adrian Chaves 2026-06-19 17:31:10 +02:00
parent 03081abcf6
commit e746df0297
1 changed files with 2 additions and 0 deletions

View File

@ -134,6 +134,8 @@ class Downloader:
"DOWNLOAD_SLOTS"
)
self._stats = crawler.stats
# (reason, start_time): current backout reason and when it began, or
# (None, None) if not backing out.
self._last_backout: tuple[str | None, float | None] = (None, None)
deprecated_setting_priority = self.settings.getpriority(