1
0
mirror of https://github.com/Qortal/qortal.git synced 2025-05-28 20:26:59 +00:00

Removed unnecessary synchronization

This commit is contained in:
CalDescent 2022-03-04 19:02:30 +00:00
parent 0352a09de7
commit ea785f79b8

@ -475,7 +475,6 @@ public class OnlineAccountsManager extends Thread {
int importCount = 0;
synchronized(onlineAccountsImportQueue) {
// Add any online accounts to the queue that aren't already present
for (OnlineAccountData onlineAccountData : peersOnlineAccounts) {
@ -492,7 +491,6 @@ public class OnlineAccountsManager extends Thread {
onlineAccountsImportQueue.add(onlineAccountData);
importCount++;
}
}
LOGGER.debug(String.format("Added %d online accounts to queue", importCount));
}