Caideyipi commented on code in PR #15565:
URL: https://github.com/apache/iotdb/pull/15565#discussion_r2102117910


##########
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/agent/task/subtask/PipeReportableSubtask.java:
##########
@@ -56,6 +56,20 @@ public synchronized void onFailure(final Throwable 
throwable) {
     // is dropped or the process is running normally.
   }
 
+  private long getSleepIntervalBasedOnThrowable(final Throwable throwable) {
+    long sleepInterval = Math.min(1000L * retryCount.get(), 10000);
+    // if receiver is read-only/internal-error/write-reject, connector will 
retry will

Review Comment:
   retry with
   



-- 
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]

Reply via email to