Skip to content

Commit 1a34543

Browse files
authored
chore(linter): bump timeout limit (google#3707)
OSV-schema added JSON schema checks which increased the runtime of OSV-linter. To address linter timeout issues, we can either increase the timeout limit or download all.zip files from different ecosystem buckets and run OSV-linter in multiple threads. For now, I will simply increase the timeout limit first, as the cron job only runs once a day and JSON schema checks should only increase the runtime slightly. Let's see how long it takes before splitting it into multiple threads.
1 parent 67b7a8b commit 1a34543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcp/workers/linter/linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def main():
232232
logging.info('Executing Go linter: %s', ' '.join(command))
233233

234234
result = subprocess.run(
235-
command, capture_output=True, text=True, check=False, timeout=600)
235+
command, capture_output=True, text=True, check=False, timeout=2000)
236236

237237
parse_and_record_linter_output(result.stdout)
238238

0 commit comments

Comments
 (0)