From 1a34558e23c8f3ba0835cc88791a176b70fe0b9a Mon Sep 17 00:00:00 2001 From: Inex Code Date: Mon, 12 Feb 2024 18:54:32 +0300 Subject: [PATCH] chore: Shorten the output on status_text --- selfprivacy_api/jobs/upgrade_system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfprivacy_api/jobs/upgrade_system.py b/selfprivacy_api/jobs/upgrade_system.py index 8a1e845..58e37f8 100644 --- a/selfprivacy_api/jobs/upgrade_system.py +++ b/selfprivacy_api/jobs/upgrade_system.py @@ -104,7 +104,7 @@ def rebuild_system_task(job: Job, upgrade: bool = False): Jobs.update( job=job, status=JobStatus.RUNNING, - status_text=f"Rebuilding the system... Latest log line: {log_line}", + status_text=f"{log_line}", ) # Timeout of 60 minutes if time.time() - start_time > 3600: