Skip to content

Commit d73a992

Browse files
author
chengyitian
committed
AJ-674: modify try twice for streaming backup;
1 parent 1cb5d02 commit d73a992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/xxdb/streaming/client/AbstractClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public boolean tryReconnect(String topic) {
257257
Site site = sites[i];
258258
boolean siteReconnected = false;
259259

260-
for (int attempt = 0; attempt < 1; attempt++) {
260+
for (int attempt = 0; attempt < 2; attempt++) {
261261
// try twice for every site.
262262
if (doReconnect(site)) {
263263
siteReconnected = true;

0 commit comments

Comments
 (0)