mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-15 23:23:17 +00:00
fix: Remove unnecessary jobs.update call
This commit is contained in:
parent
2024ff4865
commit
e38b736b60
|
@ -144,11 +144,4 @@ def start_nix_collect_garbage() -> Job:
|
|||
|
||||
calculate_and_clear_dead_paths(job=job)
|
||||
|
||||
Jobs.update(
|
||||
job=job,
|
||||
status=JobStatus.FINISHED,
|
||||
status_text="Collect garbage finished",
|
||||
progress=100,
|
||||
)
|
||||
|
||||
return job
|
||||
|
|
Loading…
Reference in a new issue