mirror of https://github.com/google/oss-fuzz.git
Update update_build_status.py
This commit is contained in:
parent
3096b90ca2
commit
77211e836c
|
@ -34,7 +34,7 @@ from datastore_entities import Project
|
|||
BADGE_DIR = 'badge_images'
|
||||
BADGE_IMAGE_TYPES = {'svg': 'image/svg+xml', 'png': 'image/png'}
|
||||
DESTINATION_BADGE_DIR = 'badges'
|
||||
MAX_BUILD_LOGS = 5
|
||||
MAX_BUILD_LOGS = 4
|
||||
|
||||
STATUS_BUCKET = 'oss-fuzz-build-logs'
|
||||
|
||||
|
@ -174,7 +174,7 @@ def update_build_status(build_tag, status_filename):
|
|||
project = get_build_history(project_build.build_ids)
|
||||
project['name'] = project_build.project
|
||||
print('Processing project', project['name'])
|
||||
time.sleep(3) # Avoid rate limits.
|
||||
time.sleep(2) # Avoid rate limits.
|
||||
return project
|
||||
|
||||
with concurrent.futures.ThreadPoolExecutor(max_workers=4) as executor:
|
||||
|
|
Loading…
Reference in New Issue