Skip to content

Commit f3b9812

Browse files
committed
Add comment for remembering where left
1 parent 7dd0f66 commit f3b9812

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/crawlee/crawlers/_basic/_basic_crawler.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ def __init__(
440440
self._statistics = statistics or cast(
441441
'Statistics[TStatisticsState]',
442442
Statistics.with_default_state(
443-
persistence_enabled=True,
443+
persistence_enabled=True, # TODO: Why does changing this to True breaks unrelated tests?
444444
periodic_message_logger=self._logger,
445445
statistics_log_format=self._statistics_log_format,
446446
log_message='Current request statistics:',
@@ -753,7 +753,6 @@ async def _run_crawler(self) -> None:
753753
self._service_locator.get_event_manager().emit(
754754
event=Event.PERSIST_STATE, event_data=EventPersistStateData(is_migrating=False)
755755
)
756-
await asyncio.sleep(10)
757756

758757
async def add_requests(
759758
self,

0 commit comments

Comments
 (0)