File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/crawlee/crawlers/_basic Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments