mirror of
https://github.com/GayPizzaSpecifications/foundation.git
synced 2025-08-02 21:20:55 +00:00
Core: Backup should use a 16KB buffer.
This commit is contained in:
parent
0a08436088
commit
ef13c2371c
@ -138,7 +138,7 @@ class BackupCommand(
|
||||
.filter { path: Path -> Files.isRegularFile(path) }
|
||||
.filter { path -> !matchers.any { it.matches(Paths.get(path.normalize().toString())) } }
|
||||
.toList()
|
||||
val buffer = ByteArray(1024)
|
||||
val buffer = ByteArray(16 * 1024)
|
||||
val backupsPath = backupsPath.toRealPath()
|
||||
|
||||
for (path in paths) {
|
||||
|
Loading…
Reference in New Issue
Block a user