From 40f1a68a746c1b4eb44073fb41ba172a5d738b95 2017-08-24 07:13:16 From: mperrinel Date: 2017-08-24 07:13:16 Subject: [PATCH] Add sleep to permits AMDA to wait 1 sec between each request --- diff --git a/plugins/amda/src/AmdaProvider.cpp b/plugins/amda/src/AmdaProvider.cpp index a320b84..8fe1f67 100644 --- a/plugins/amda/src/AmdaProvider.cpp +++ b/plugins/amda/src/AmdaProvider.cpp @@ -76,8 +76,8 @@ void AmdaProvider::requestDataLoading(QUuid acqIdentifier, const DataProviderPar for (const auto &dateTime : qAsConst(times)) { this->retrieveData(acqIdentifier, dateTime, data); - // TORM - // QThread::msleep(200); + // TORM when AMDA will support quick asynchrone request + QThread::msleep(1000); } }