increase waiting time

This commit is contained in:
Dario 2019-12-20 11:23:44 +01:00
parent 99b0f7d4b1
commit e390fdb7d2
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ void CheckTransactionPage::handleRequest(Poco::Net::HTTPServerRequest& request,
size_t notReadyTransactions = 0;
size_t sumTransactions = mSession->getProcessingTransactionCount();
if(sumTransactions == 0) {
Poco::Thread::sleep(500);
Poco::Thread::sleep(1000);
response.redirect(ServerConfig::g_php_serverPath + "state-balances/overview");
return;
}

View File

@ -49,7 +49,7 @@ enum PageState {
size_t notReadyTransactions = 0;
size_t sumTransactions = mSession->getProcessingTransactionCount();
if(sumTransactions == 0) {
Poco::Thread::sleep(500);
Poco::Thread::sleep(1000);
response.redirect(ServerConfig::g_php_serverPath + "state-balances/overview");
return;
}