mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-05-28 03:03:50 -04:00
do not backup trade wallet if arbitrator for space saving
This commit is contained in:
parent
8776fecef0
commit
221a63077c
3 changed files with 6 additions and 5 deletions
|
@ -39,6 +39,7 @@ import java.util.List;
|
|||
@Slf4j
|
||||
public class FileUtil {
|
||||
public static void rollingBackup(File dir, String fileName, int numMaxBackupFiles) {
|
||||
if (numMaxBackupFiles <= 0) return;
|
||||
if (dir.exists()) {
|
||||
File backupDir = new File(Paths.get(dir.getAbsolutePath(), "backup").toString());
|
||||
if (!backupDir.exists())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue