summaryrefslogtreecommitdiff
path: root/zuul/source
diff options
context:
space:
mode:
authorSimon Westphahl <simon.westphahl@bmw.de>2021-11-04 08:50:32 +0100
committerSimon Westphahl <simon.westphahl@bmw.de>2021-11-04 15:15:15 +0100
commit0e9cb51426564806b6b0f9ec646e5a3923876885 (patch)
tree845267f1cf311c94bed03ba4a40b9651219fac92 /zuul/source
parenta836575c60c30a864548744bcfe5b0f2d0484b65 (diff)
downloadzuul-0e9cb51426564806b6b0f9ec646e5a3923876885.tar.gz
Refresh branch cache depending on min. ltime
Change-Id: I373296d2f3b3a4392c98e1226a5e150c48daa2e0
Diffstat (limited to 'zuul/source')
-rw-r--r--zuul/source/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/zuul/source/__init__.py b/zuul/source/__init__.py
index b9f73373f..3c068b46f 100644
--- a/zuul/source/__init__.py
+++ b/zuul/source/__init__.py
@@ -114,7 +114,7 @@ class BaseSource(object, metaclass=abc.ABCMeta):
"""Get a project."""
@abc.abstractmethod
- def getProjectBranches(self, project, tenant):
+ def getProjectBranches(self, project, tenant, min_ltime=-1):
"""Get branches for a project
This method is called very frequently, and should generally