diff options
author | Keuin <[email protected]> | 2021-01-22 20:08:29 +0800 |
---|---|---|
committer | keuin <[email protected]> | 2021-01-22 20:08:29 +0800 |
commit | 270dd70a0fa80fbea0f7985a551c1b453e3f9903 (patch) | |
tree | 2ea04b72edeb0c1eeb5b3f9e012448a33e8d3948 /src/main/java/com/keuin/kbackupfabric/operation | |
parent | 1c23fc14be8a0ac9542f1412448c4d896756ba01 (diff) |
Fix a potential bug caused by the wrong implementation of compareTo method in ObjectElement
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/operation')
-rw-r--r-- | src/main/java/com/keuin/kbackupfabric/operation/backup/method/ConfiguredIncrementalBackupMethod.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/operation/backup/method/ConfiguredIncrementalBackupMethod.java b/src/main/java/com/keuin/kbackupfabric/operation/backup/method/ConfiguredIncrementalBackupMethod.java index ab0c114..569c4c6 100644 --- a/src/main/java/com/keuin/kbackupfabric/operation/backup/method/ConfiguredIncrementalBackupMethod.java +++ b/src/main/java/com/keuin/kbackupfabric/operation/backup/method/ConfiguredIncrementalBackupMethod.java @@ -46,7 +46,7 @@ public class ConfiguredIncrementalBackupMethod implements ConfiguredBackupMethod // construct incremental backup index PrintUtil.info("Hashing files..."); - ObjectCollection collection = new ObjectCollectionFactory<>(Sha256Identifier.getFactory(), hashFactoryThreads) + ObjectCollection collection = new ObjectCollectionFactory<>(Sha256Identifier.getFactory(), hashFactoryThreads, 16) .fromDirectory(levelPathFile, new HashSet<>(Arrays.asList("session.lock", "kbackup_metadata"))); // update storage |