Skip to content

Commit

Permalink
Add check_git_status() 5 second timeout (ultralytics#3464)
Browse files Browse the repository at this point in the history
* Add check_git_status() 5 second timeout

This should prevent the SSH Git bug that we were discussing @kalenmike

* cleanup

* replace timeout with check_output built-in timeout

(cherry picked from commit 563ea94)
  • Loading branch information
glenn-jocher authored and Lechtr committed Jun 14, 2021
1 parent a4420e4 commit a0bc707
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utils/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import random
import re
import signal
import subprocess
import time
import urllib
from itertools import repeat
Expand Down

0 comments on commit a0bc707

Please sign in to comment.