#4498 adjust repo log logic
Merged by mikem. Opened by mikem.
mikem/koji repo-lag-logic  into  master

Download 4498.patch

This change adjusts the repo lag logic and obsoletes the RepoLagWindow setting.

The lag window was intended to keep avoid redundant regenerations for duplicate requests within a short span of time. Unfortunately, there are still a number of cases where nearby requests fall into separate windows. Depending on settings and repo regen time, this can even result in overlapping newRepo tasks for the same tag.

Fixes https://pagure.io/koji/issue/4499

:thumbsup:

Metadata Update from @mikem:
- Pull-request tagged with: testing-basic

Metadata Update from @mikem:
- Pull-request untagged with: testing-basic
- Pull-request tagged with: testing-custom

Testing notes -- I think the existing integration tests are probably sufficient here. However, if there are any tests that are specific to the RepoLagWindow setting, those might need to be adjusted since this setting is no longer used.

Metadata Update from @mfilip:
- Pull-request tagged with: testing-done

rebased onto 249d84bbf70e88de7583472a35cb40c880f5cac1

Commit f1a8c638 fixes this pull-request

Pull-Request has been merged by mikem

Metadata