Don't sort the transactions in listAllHostedTransactions() as this is a waste of CPU.

This commit is contained in:
CalDescent 2021-12-04 12:03:52 +00:00
parent f7ed3eefc8
commit 0a2b4dedc7

View File

@ -238,7 +238,7 @@ public class ArbitraryDataStorageManager extends Thread {
.filter(path -> !path.toAbsolutePath().toString().contains(tempPath.toAbsolutePath().toString()))
.filter(path -> !path.toString().contains("_misc"))
.filter(path -> path.getFileName().toString().length() > 32)
.sorted().collect(Collectors.toList());
.collect(Collectors.toList());
// Loop through each path and attempt to match it to a signature
for (Path path : allPaths) {