fix: reduce timeout values for snowreport import

This commit is contained in:
2026-09-15 11:28:14 +02:00
parent fb8fddf669
commit 6e0479bf22
@@ -47,10 +47,12 @@ class SnowreportImportService implements SingletonInterface
const XML_FILE_URL = 'https://www.skiresort-service.com/xml-feed/';
/**
* Connection and read timeout for the feed download, in seconds.
* Connection and read timeout for the feed download, in seconds. A healthy response to this
* endpoint arrives in well under a second, so the ceiling is kept low enough that an outage on
* the vendor side fails visibly instead of stalling the scheduler task or the backend request.
*/
const HTTP_CONNECT_TIMEOUT = 10;
const HTTP_TIMEOUT = 120;
const HTTP_CONNECT_TIMEOUT = 5;
const HTTP_TIMEOUT = 30;
/**
* @var array