File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -455,8 +455,6 @@ async def run_urls(
455455
456456 # Update priorities for waiting tasks if needed
457457 await self ._update_queue_priorities ()
458-
459- return results
460458
461459 except Exception as e :
462460 if self .monitor :
@@ -467,6 +465,7 @@ async def run_urls(
467465 memory_monitor .cancel ()
468466 if self .monitor :
469467 self .monitor .stop ()
468+ return results
470469
471470 async def _update_queue_priorities (self ):
472471 """Periodically update priorities of items in the queue to prevent starvation"""
Original file line number Diff line number Diff line change @@ -563,7 +563,6 @@ async def handle_crawl_request(
563563 if isinstance (hook_manager , UserHookManager ):
564564 try :
565565 # Ensure all hook data is JSON serializable
566- import json
567566 hook_data = {
568567 "status" : hooks_status ,
569568 "execution_log" : hook_manager .execution_log ,
You can’t perform that action at this time.
0 commit comments