Merge "Use weakref for change cache" into feature/zuulv3

This commit is contained in:
Zuul
2017-10-16 19:27:58 +00:00
committed by Gerrit Code Review
5 changed files with 17 additions and 61 deletions

View File

@@ -68,13 +68,6 @@ class BaseConnection(object, metaclass=abc.ABCMeta):
def registerScheduler(self, sched):
self.sched = sched
def maintainCache(self, relevant):
"""Make cache contain relevant changes.
This lets the user supply a list of change objects that are
still in use. Anything in our cache that isn't in the supplied
list should be safe to remove from the cache."""
def registerWebapp(self, webapp):
self.webapp = webapp