From 5d385431e39383e649677bdd65102a866a4405c7 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Fri, 23 Feb 2024 20:44:35 +0300 Subject: [PATCH] try to remove the handle --- selfprivacy_api/backup/tasks.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/selfprivacy_api/backup/tasks.py b/selfprivacy_api/backup/tasks.py index c0f6a1d..4429ea7 100644 --- a/selfprivacy_api/backup/tasks.py +++ b/selfprivacy_api/backup/tasks.py @@ -80,9 +80,7 @@ def do_autobackup(): """ time = datetime.utcnow().replace(tzinfo=timezone.utc) for service in Backups.services_to_back_up(time): - handle = start_backup(service.get_id(), BackupReason.AUTO) - # To be on safe side, we do not do it in parallel - handle(blocking=True) + start_backup(service.get_id(), BackupReason.AUTO) @huey.periodic_task(validate_datetime=validate_datetime)