Commit 7b562d8
committed
1-click ops: improve performance of "back up apps with changes"
Calculating hash values for each directory can be very time consuming. Instead,
a greedy approach has been adopted that looks up to depth 3 recursively to find
changes in the timestamp (access and/or modification time). While this approach
may miss a few cases, it's less time consuming that the previous method.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>1 parent 06d009a commit 7b562d8
7 files changed
Lines changed: 585 additions & 93 deletions
File tree
- app
- schemas/io.github.muntashirakon.AppManager.db.AppsDb
- src/main/java/io/github/muntashirakon
- AppManager
- backup
- db
- dao
- entity
- oneclickops
- io
0 commit comments