fix: [crawler] increase timeout QUEUED captures

This commit is contained in:
terrtia 2025-01-09 14:07:56 +01:00
parent df161cfd64
commit c82ffdb815
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -180,7 +180,7 @@ class Crawler(AbstractModule):
capture.update(status)
elif status == crawlers.CaptureStatus.QUEUED:
capture_start = capture.get_start_time(r_str=False)
if int(time.time()) - capture_start > 600: # TODO ADD in new crawler config
if int(time.time()) - capture_start > 3600: # TODO ADD in new crawler config
task = capture.get_task()
task.reset()
capture.delete()