Created
August 23, 2018 14:57
-
-
Save jesbrd/9b5524294fae19dbc5a96a3488f414bd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test_it() { | |
SECONDS=0 | |
local connects=0 | |
while :; do | |
((connects++)) | |
if ((connects >= 10000000 && SECONDS >= 20)); then | |
echo $connects | |
echo $SECONDS | |
break; | |
fi | |
done | |
} | |
test_it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment