Browse Source

reduce timeout: 3min -> 30s

Fabian Peter Hammerle 5 years ago
parent
commit
5b609557e9
1 changed files with 2 additions and 0 deletions
  1. 2 0
      ping.py

+ 2 - 0
ping.py

@@ -9,6 +9,8 @@ class PingSpider(CrawlSpider):
     name = 'ping'
 
     custom_settings = {
+        # default: 3 min
+        'DOWNLOAD_TIMEOUT': 30, # [s]
         # WORKAROUND
         # [boto] ERROR: Unable to read instance data, giving up
         'DOWNLOAD_HANDLERS': {'s3': None},