Set the wait time shorter than before.

This commit is contained in:
wusheng 2017-07-01 23:43:08 +08:00
parent f4d332a340
commit 18fed69e44
1 changed files with 2 additions and 3 deletions

View File

@ -19,7 +19,6 @@ public class GRPCStreamServiceStatus {
}
/**
*
* @param maxTimeout max wait time, milliseconds.
*/
public void wait4Finish(long maxTimeout) {
@ -28,8 +27,8 @@ public class GRPCStreamServiceStatus {
if (time > maxTimeout) {
break;
}
try2Sleep(50);
time += 50;
try2Sleep(5);
time += 5;
}
}