Adjusted retry delay on prices

This commit is contained in:
Gunnar Skjold 2023-06-11 06:41:46 +02:00
parent 9d902c63de
commit f8cb9d187f

View File

@ -236,9 +236,9 @@ bool EntsoeApi::retrieve(const char* url, Stream* doc) {
} else {
lastError = status;
if(status == 429) {
nextFetchDelayMinutes = 60;
nextFetchDelayMinutes = 15;
} else if(status == 404) {
nextFetchDelayMinutes = 180;
nextFetchDelayMinutes = 60;
} else {
nextFetchDelayMinutes = 30;
}