Skip to content

Commit

Permalink
#74 10m timeout for metric
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Sep 22, 2023
1 parent f9f8882 commit b73a1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion steps/measure-file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ echo "${metrics}" | while read -r m; do
# by one of the filters in the "filters/" directory. Probably, we should avoid shallow clones
# and then get an opportunity to have more Git-based metrics.
if [ "${m}" = "authors.sh" ]; then continue; fi
if "metrics/${m}" "${java}" "${javam}"; then
if timeout 10m "metrics/${m}" "${java}" "${javam}"; then
while read -r t; do
IFS=' ' read -r -ra M <<< "${t}"
echo "${M[1]}" > "${javam}.${M[0]}"
Expand Down

0 comments on commit b73a1c5

Please sign in to comment.