commit | 9d17050aee45367cdbb50c69d40815d0969e1b7a | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Aug 23 00:12:52 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Aug 23 00:12:52 2016 +0000 |
tree | 227d092946cee82882b9e836eb52d8144f31a7d0 | |
parent | ec680fca1a50a1f888f31c45846070da2ee32f08 [diff] | |
parent | 82541469d6379d72fa840ba3a9accf3eed5f1b0d [diff] |
Merge "adb: increase the authentication throttling limit."
diff --git a/adb/adb.cpp b/adb/adb.cpp index 45d26f8..be390d9 100644 --- a/adb/adb.cpp +++ b/adb/adb.cpp
@@ -360,7 +360,7 @@ adb_auth_verified(t); t->failed_auth_attempts = 0; } else { - if (t->failed_auth_attempts++ > 10) adb_sleep_ms(1000); + if (t->failed_auth_attempts++ > 256) adb_sleep_ms(1000); send_auth_request(t); } } else if (p->msg.arg0 == ADB_AUTH_RSAPUBLICKEY) {