mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-07 08:31:06 +00:00
chore: Shorten the output on status_text
This commit is contained in:
parent
c851c3d193
commit
1a34558e23
|
@ -104,7 +104,7 @@ def rebuild_system_task(job: Job, upgrade: bool = False):
|
||||||
Jobs.update(
|
Jobs.update(
|
||||||
job=job,
|
job=job,
|
||||||
status=JobStatus.RUNNING,
|
status=JobStatus.RUNNING,
|
||||||
status_text=f"Rebuilding the system... Latest log line: {log_line}",
|
status_text=f"{log_line}",
|
||||||
)
|
)
|
||||||
# Timeout of 60 minutes
|
# Timeout of 60 minutes
|
||||||
if time.time() - start_time > 3600:
|
if time.time() - start_time > 3600:
|
||||||
|
|
Loading…
Reference in a new issue