Merge "Set cache ltime when branch protection changed"

This commit is contained in:
Zuul 2023-03-24 15:10:33 +00:00 committed by Gerrit Code Review
commit e9a3baee59
1 changed files with 5 additions and 0 deletions

View File

@ -684,6 +684,11 @@ class GithubEventProcessor(object):
branch, project_name)
events.append(
self._branch_protection_rule_to_event(project_name, branch))
for event in events:
# Make sure every event has a branch cache ltime
self.connection.clearConnectionCacheOnBranchEvent(event)
return events
def _branch_protection_rule_to_event(self, project_name, branch):