forked from Qortal/qortal
Used when checking that node has shutdown and when replacing old JAR with new update. ApplyUpdate previously waited 5 seconds between checks/retries, for up to 5 times: 25 seconds. Now waits 10 seconds, for up to 12 times: 120 seconds. Hopefully this will give slower nodes enough time to shut down and prevent errors like these on Windows installs: 2020-03-24 12:05:50 INFO ApplyUpdate:114 - Unable to replace JAR: qortal.jar: The process cannot access the file because it is being used by another process.