зеркало из https://github.com/mozilla/treeherder.git
Merge pull request #302 from wlach/1112749
Only process objects for each repo once
This commit is contained in:
Коммит
1e30f7ba77
|
@ -17,7 +17,7 @@ def process_objects(limit=None):
|
|||
"""
|
||||
# default limit to 100
|
||||
limit = limit or 100
|
||||
for ds in Datasource.objects.all():
|
||||
for ds in Datasource.objects.filter(contenttype='objectstore'):
|
||||
jm = JobsModel(ds.project)
|
||||
try:
|
||||
jm.process_objects(limit)
|
||||
|
|
Загрузка…
Ссылка в новой задаче