Merge pull request #1200 from jberry-suse/splitter-special
osclib/request_splitter: provide splitter-special-packages config variable.
This commit is contained in:
commit
a890767ddb
@ -15,6 +15,9 @@ class RequestSplitter(object):
|
||||
# 55 minutes to avoid two staging bot loops of 30 minutes
|
||||
self.request_age_threshold = int(self.config.get('splitter-request-age-threshold', 55 * 60))
|
||||
self.staging_age_max = int(self.config.get('splitter-staging-age-max', 8 * 60 * 60))
|
||||
special_packages= self.config.get('splitter-special-packages')
|
||||
if special_packages:
|
||||
StrategySpecial.PACKAGES = special_packages.split(' ')
|
||||
|
||||
self.requests_ignored = self.api.get_ignored_requests()
|
||||
|
||||
@ -487,13 +490,10 @@ class StrategyQuick(StrategyNone):
|
||||
|
||||
class StrategySpecial(StrategyNone):
|
||||
PACKAGES = [
|
||||
'boost',
|
||||
'gcc',
|
||||
'gcc6',
|
||||
'gcc7',
|
||||
'glibc',
|
||||
'kernel-source',
|
||||
'util-linux',
|
||||
]
|
||||
|
||||
def apply(self, splitter):
|
||||
|
Loading…
x
Reference in New Issue
Block a user