From 8b24a512de1fca5937a48fd6b5e2f101eee4f418 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 5 Feb 2020 20:52:30 -0800 Subject: decrease SPNv2 polling timeout to 3 minutes --- python/sandcrawler/ia.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/sandcrawler/ia.py b/python/sandcrawler/ia.py index 3be1a79..2a334cc 100644 --- a/python/sandcrawler/ia.py +++ b/python/sandcrawler/ia.py @@ -662,8 +662,8 @@ class SavePageNowClient: 'Authorization': 'LOW {}:{}'.format(self.ia_access_key, self.ia_secret_key), }) - # 4 minutes total; very long, kafka likely to time out - self.poll_count = 80 + # 3 minutes total + self.poll_count = 60 self.poll_seconds = 3.0 def save_url_now_v2(self, request_url): -- cgit v1.2.3