sandynz commented on code in PR #19852:
URL: https://github.com/apache/shardingsphere/pull/19852#discussion_r937528080
##########
shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-dialect/shardingsphere-data-pipeline-mysql/src/main/java/org/apache/shardingsphere/data/pipeline/mysql/ingest/client/MySQLClient.java:
##########
@@ -215,7 +218,7 @@ public synchronized AbstractBinlogEvent poll() {
@SuppressWarnings("unchecked")
private <T> T waitExpectedResponse(final Class<T> type) {
try {
- Object response = responseCallback.get();
+ Object response = responseCallback.get(10, TimeUnit.SECONDS);
Review Comment:
`10` seconds might be too much, could we use the same timeout with connect
timeout?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]