IATI / refresher

A Python application which has the responsibility of tracking IATI data from around the Web and refreshing the core IATI software's data stores
GNU Affero General Public License v3.0
2 stars 0 forks source link

Specify timeout to requests #322

Closed odscjames closed 6 months ago

odscjames commented 7 months ago

https://github.com/IATI/refresher/issues/321

Set very high by default just to avoid a blocked request blocking the whole process for ever.

odscjames commented 7 months ago

I ran with

SCHEMA_VALIDATOR_API_TIMEOUT=1 VALIDATOR_API_TIMEOUT=1 python src/handler.py -t validate

And saw the error state. Also ran normally and seen fine.