You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.WithInitTimeout(TimeSpan.FromSeconds(5)) // Fast init timeout
237
-
.WithInsertTimeout(TimeSpan.FromSeconds(60)) // Longer for writes
237
+
.WithDataTimeout(TimeSpan.FromSeconds(60)) // Longer for writes
238
238
.WithQueryTimeout(TimeSpan.FromSeconds(120)) // Longest for searches
239
239
.BuildAsync();
240
240
```
@@ -243,7 +243,7 @@ var client = await new WeaviateClientBuilder()
243
243
244
244
-**InitTimeout (2s)**: Initialization operations are quick health checks. A very short timeout quickly detects network connectivity issues during client startup without blocking for long.
245
245
246
-
-**InsertTimeout (120s)**: Write operations (inserts, deletes, updates, references) may take longer due to indexing and consistency guarantees. The 120-second default allows time for moderate-to-large batch operations.
246
+
-**DataTimeout (120s)**: Write operations (inserts, deletes, updates, references) may take longer due to indexing and consistency guarantees. The 120-second default allows time for moderate-to-large batch operations.
247
247
248
248
-**QueryTimeout (60s)**: Search and retrieval operations (queries, aggregations, generative operations) can be computationally intensive, especially with complex filters, reranking, large result sets, or LLM processing. The 60-second default balances responsiveness with allowing complex queries and generative operations to complete.
249
249
@@ -375,7 +375,7 @@ class Program
375
375
)
376
376
.WithDefaultTimeout(TimeSpan.FromSeconds(30))
377
377
.WithInitTimeout(TimeSpan.FromSeconds(5))
378
-
.WithInsertTimeout(TimeSpan.FromSeconds(60))
378
+
.WithDataTimeout(TimeSpan.FromSeconds(60))
379
379
.WithQueryTimeout(TimeSpan.FromSeconds(120))
380
380
.WithRetryPolicy(newRetryPolicy(maxRetries: 3))
381
381
.BuildAsync();
@@ -426,7 +426,7 @@ var client = await new WeaviateClientBuilder()
426
426
.Local(hostname: "localhost")
427
427
.WithDefaultTimeout(TimeSpan.FromSeconds(30))
428
428
.WithInitTimeout(TimeSpan.FromSeconds(10))
429
-
.WithInsertTimeout(TimeSpan.FromSeconds(60))
429
+
.WithDataTimeout(TimeSpan.FromSeconds(60))
430
430
.WithQueryTimeout(TimeSpan.FromSeconds(120))
431
431
.BuildAsync();
432
432
```
@@ -450,7 +450,7 @@ var client = await new WeaviateClientBuilder()
0 commit comments