зеркало из https://github.com/mozilla/bugbug.git
Revert "Revert "Temporarily disable regeneration of old results""
This reverts commit e5f37269fe
.
We need again this revert to investigate yet another memory
usage issue on Heroku...
This commit is contained in:
Родитель
5e41ffd71c
Коммит
3ae7b6c74c
|
@ -124,14 +124,14 @@ class Retriever(object):
|
|||
# algorithm is currently pretty slow, so we only regenerate 1000 pushes whenever we
|
||||
# run.
|
||||
to_regenerate = set()
|
||||
for push in pushes[::-1]:
|
||||
"""for push in pushes[::-1]:
|
||||
cached = adr.config.cache.get(cache_key(push))
|
||||
if not cached:
|
||||
continue
|
||||
|
||||
value, mozci_version = cached
|
||||
if mozci_version != MOZCI_VERSION and len(to_regenerate) < 1000:
|
||||
to_regenerate.add(value[0][0])
|
||||
to_regenerate.add(value[0][0])"""
|
||||
|
||||
for push in tqdm(pushes):
|
||||
key = cache_key(push)
|
||||
|
|
Загрузка…
Ссылка в новой задаче