File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/main/java/com/influxdb/v3/client/internal Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 2121 */
2222package com .influxdb .v3 .client .internal ;
2323
24+ import java .time .Duration ;
2425import java .util .ArrayList ;
2526import java .util .List ;
2627import java .util .Objects ;
@@ -226,6 +227,11 @@ public Builder() {
226227 /**
227228 * Sets the absolute deadline for a rpc call.
228229 *
230+ * <p><i>Please note</i> the preferred approach is to set a <code>queryTimeout</code>
231+ * Duration value globally in the ClientConfig
232+ * ({@link com.influxdb.v3.client.config.ClientConfig.Builder#queryTimeout(Duration)}).
233+ * This value will then be used to calculate a new Deadline with each call.</p>
234+ *
229235 * @param deadline The deadline
230236 * @return this
231237 */
You can’t perform that action at this time.
0 commit comments