Skip to content

Commit 6fcca69

Browse files
codebrainrusscam
authored andcommitted
Fix bulk timeout.
1 parent 6b937e8 commit 6fcca69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Nest/Document/Multiple/BulkAll/BulkAllObservable.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ private async Task<IBulkAllResponse> BulkAsync(IList<T> buffer, long page, int b
115115
var request = _partitionedBulkRequest;
116116
var response = await _client.BulkAsync(s =>
117117
{
118+
s.Timeout(request.Timeout);
118119
s.Index(request.Index).Type(request.Type);
119120
if (request.BufferToBulk != null) request.BufferToBulk(s, buffer);
120121
else s.IndexMany(buffer);

0 commit comments

Comments
 (0)