diff --git a/scripts/test_scheduling_history_retriever.py b/scripts/test_scheduling_history_retriever.py index 5e7f9e8f..9a7e932a 100644 --- a/scripts/test_scheduling_history_retriever.py +++ b/scripts/test_scheduling_history_retriever.py @@ -134,14 +134,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)