forked from Qortal/qortal
Delete all known peers when creating a bootstrap
This commit is contained in:
parent
1b17c2613d
commit
47ce884bbe
@ -248,6 +248,10 @@ public class Bootstrap {
|
|||||||
|
|
||||||
repository.saveChanges();
|
repository.saveChanges();
|
||||||
|
|
||||||
|
LOGGER.info("Deleting peers list...");
|
||||||
|
repository.getNetworkRepository().deleteAllPeers();
|
||||||
|
repository.saveChanges();
|
||||||
|
|
||||||
LOGGER.info("Creating bootstrap...");
|
LOGGER.info("Creating bootstrap...");
|
||||||
// Timeout if the database isn't ready for backing up after 10 seconds
|
// Timeout if the database isn't ready for backing up after 10 seconds
|
||||||
long timeout = 10 * 1000L;
|
long timeout = 10 * 1000L;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user