#713 [frontend] notify outdated chroots with 60 days interval
Merged 4 years ago by frostyx. Opened 4 years ago by frostyx.
copr/ frostyx/copr 60-days-between-notifications  into  master

@@ -57,8 +57,9 @@ 

                  filtered.append(chroot)

                  continue

  

+             # Skip the chroot if was notified in less than `n` days

              now = datetime.datetime.now()

-             if (now - chroot.delete_notify).days >= 14:

+             if (now - chroot.delete_notify).days >= 80:

                  filtered.append(chroot)

  

          return filtered

The original 14 days was too short. When having 180 days preservation
period, then it is around 13 notifications for a chroot.
With 60 days interval between notifications, it is 3 notifications
per chroot (one straight away, the second one at day 60, and the
last one at day 120). Another considerable option would be like 55 days.
This way we would get one more notification about two weeks before deletion.

Metadata Update from @praiskup:
- Pull-request tagged with: needs-work

4 years ago

on meeting we agreed on 80 days.

rebased onto e30b85ad424fb5e3ad1a883d370df39c0b0c0fa6

4 years ago

rebased onto ebd16aef6bddce219b504d32853092c0ebd3eaaa

4 years ago

Metadata Update from @frostyx:
- Pull-request untagged with: needs-work

4 years ago

I've changed it from 60 to 80 days and merging.

Pull-Request has been merged by frostyx

4 years ago