Skip to content

Commit

Permalink
Android 99dnscrypt: do not sleep before trying the next resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Jan 22, 2017
1 parent 85cec69 commit e6c3128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist-build/android-files/system/etc/init.d/99dnscrypt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ while :; do
case "$?" in
0 ) break;;
esac
sleep 1

# check second server (servers go down pretty often)
RESOLVER_NAME=random
Expand All @@ -21,7 +20,8 @@ while :; do
case "$?" in
0 ) break;;
esac
sleep 1

sleep 5
done

dnscrypt-proxy \
Expand Down

0 comments on commit e6c3128

Please sign in to comment.