From 542d50cba7461177223e9752a6374e5bfe117808 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Wed, 20 Mar 2024 18:45:39 +0100 Subject: Create automatic backups only every 3 days, update summary (#7005) --- .../antennapod/storage/importexport/AutomaticDatabaseExportWorker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'storage/importexport/src') diff --git a/storage/importexport/src/main/java/de/danoeh/antennapod/storage/importexport/AutomaticDatabaseExportWorker.java b/storage/importexport/src/main/java/de/danoeh/antennapod/storage/importexport/AutomaticDatabaseExportWorker.java index 8d668ef43..39f0bb546 100644 --- a/storage/importexport/src/main/java/de/danoeh/antennapod/storage/importexport/AutomaticDatabaseExportWorker.java +++ b/storage/importexport/src/main/java/de/danoeh/antennapod/storage/importexport/AutomaticDatabaseExportWorker.java @@ -41,7 +41,7 @@ public class AutomaticDatabaseExportWorker extends Worker { WorkManager.getInstance(context).cancelUniqueWork(WORK_ID_AUTOMATIC_DATABASE_EXPORT); } else { PeriodicWorkRequest workRequest = new PeriodicWorkRequest.Builder( - AutomaticDatabaseExportWorker.class, 1, TimeUnit.DAYS) + AutomaticDatabaseExportWorker.class, 3, TimeUnit.DAYS) .build(); WorkManager.getInstance(context).enqueueUniquePeriodicWork(WORK_ID_AUTOMATIC_DATABASE_EXPORT, replace ? ExistingPeriodicWorkPolicy.REPLACE : ExistingPeriodicWorkPolicy.KEEP, workRequest); -- cgit v1.2.3