mirror of
https://github.com/simon987/sist2.git
synced 2025-04-21 03:06:47 +00:00
Compare commits
No commits in common. "71deab7fa22f61b76a99fbe68889aff2bc5938c7" and "ca845d80e88d27fe9b74d5c93f9f1fe5751f26e3" have entirely different histories.
71deab7fa2
...
ca845d80e8
@ -65,8 +65,8 @@ def get_log_files_to_remove(db: PersistentState, job_name: str, n: int):
|
|||||||
if row["name"].endswith(f"[{job_name}]"):
|
if row["name"].endswith(f"[{job_name}]"):
|
||||||
counter += 1
|
counter += 1
|
||||||
|
|
||||||
if counter > n:
|
if counter > n:
|
||||||
to_remove.append(row)
|
to_remove.append(row)
|
||||||
|
|
||||||
return to_remove
|
return to_remove
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user