File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed
clients/algoliasearch-client-csharp/algoliasearch/Utils Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ public List<WatchResponse> ChunkedPush<T>(
182182 cancellationToken
183183 )
184184 ) ;
185-
185+
186186 private static async Task < T > RetryUntil < T > (
187187 Func < Task < T > > func ,
188188 Func < T , bool > validate ,
Original file line number Diff line number Diff line change @@ -1539,7 +1539,7 @@ public ReplaceAllObjectsWithTransformationResponse ReplaceAllObjectsWithTransfor
15391539 cancellationToken
15401540 )
15411541 ) ;
1542-
1542+
15431543 private static List < Models . Search . WatchResponse > ToSearchWatchResponses (
15441544 List < Models . Ingestion . WatchResponse > ingestionResponses
15451545 )
Original file line number Diff line number Diff line change @@ -177,9 +177,19 @@ namespace Algolia.Search.Clients;
177177 }
178178
179179 _ingestionTransporter = new IngestionClient(
180- _transport._algoliaConfig.AppId,
181- _transport._algoliaConfig.ApiKey,
182- region,
180+ new IngestionConfig(
181+ _transport._algoliaConfig.AppId,
182+ _transport._algoliaConfig.ApiKey,
183+ region
184+ )
185+ {
186+ DefaultHeaders = _transport._algoliaConfig.DefaultHeaders,
187+ ConnectTimeout = _transport._algoliaConfig.ConnectTimeout,
188+ ReadTimeout = _transport._algoliaConfig.ReadTimeout,
189+ WriteTimeout = _transport._algoliaConfig.WriteTimeout,
190+ Compression = _transport._algoliaConfig.Compression,
191+ CustomHosts = _transport._algoliaConfig.CustomHosts
192+ } ,
183193 factory
184194 );
185195 }
You can’t perform that action at this time.
0 commit comments