Renamed the scraper option to auto-retry on peer verification errors.

This commit is contained in:
Leon Styhre 2021-05-29 13:03:53 +02:00
parent 59a3ba2bda
commit 29dc08e294

View file

@ -507,7 +507,7 @@ void GuiScraperMenu::openOtherSettings()
auto retry_peer_verification = std::make_shared<SwitchComponent>(mWindow); auto retry_peer_verification = std::make_shared<SwitchComponent>(mWindow);
retry_peer_verification->setState( retry_peer_verification->setState(
Settings::getInstance()->getBool("ScraperRetryPeerVerification")); Settings::getInstance()->getBool("ScraperRetryPeerVerification"));
s->addWithLabel("RETRY ON PEER VERIFICATION ERRORS", retry_peer_verification); s->addWithLabel("AUTO-RETRY ON PEER VERIFICATION ERRORS", retry_peer_verification);
s->addSaveFunc([retry_peer_verification, s] { s->addSaveFunc([retry_peer_verification, s] {
if (retry_peer_verification->getState() != if (retry_peer_verification->getState() !=
Settings::getInstance()->getBool("ScraperRetryPeerVerification")) { Settings::getInstance()->getBool("ScraperRetryPeerVerification")) {