Skip to content

Commit c1ae7e4

Browse files
committed
modify direct-load MAX_QUERY_TIMEOUT to Integer.MAX_VALUE
1 parent 92a1e42 commit c1ae7e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/alipay/oceanbase/rpc/direct_load/ObDirectLoadStatement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ public static final class Builder {
309309
private long maxErrorRowCount = 0;
310310
private String loadMethod = "full";
311311

312-
private static final long MAX_QUERY_TIMEOUT = 1L * 365 * 24 * 3600 * 1000; // 1year
312+
private static final long MAX_QUERY_TIMEOUT = Integer.MAX_VALUE;
313313

314314
Builder(ObDirectLoadConnection connection) {
315315
this.connection = connection;

0 commit comments

Comments
 (0)