equal
deleted
inserted
replaced
88 'priority_group': group, |
88 'priority_group': group, |
89 'status': 'waiting', |
89 'status': 'waiting', |
90 } |
90 } |
91 |
91 |
92 queryGen = lambda: job_logic.getQueryForFields(filter=filter) |
92 queryGen = lambda: job_logic.getQueryForFields(filter=filter) |
93 jobs = job_logic.entityIterator(queryGen, batchSize=10) |
93 jobs = job_logic.entityIterator(queryGen, batch_size=10) |
94 |
94 |
95 retry_jobs = [] |
95 retry_jobs = [] |
96 |
96 |
97 for job in handler.iterate(jobs, retry_jobs): |
97 for job in handler.iterate(jobs, retry_jobs): |
98 if random.randint(0, 3) > 0: |
98 if random.randint(0, 3) > 0: |