File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Ydb.Sdk/src/Services/Topic Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ protected async void ReconnectSession()
3131 }
3232
3333 Logger . LogInformation ( "WriterSession[{SessionId}] has been deactivated, starting to reconnect" , SessionId ) ;
34-
34+
3535 await _initialize ( ) ;
3636 }
3737
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ public async Task<WriteResult> WriteAsync(Message<TValue> message)
7171 var curLimitBufferSize = Volatile . Read ( ref _limitBufferMaxSize ) ;
7272
7373 if ( // sending one biggest message anyway
74- curLimitBufferSize == _config . BufferMaxSize && data . Length > curLimitBufferSize
74+ ( curLimitBufferSize == _config . BufferMaxSize && data . Length > curLimitBufferSize )
7575 || curLimitBufferSize >= data . Length )
7676 {
7777 if ( Interlocked . CompareExchange ( ref _limitBufferMaxSize ,
You can’t perform that action at this time.
0 commit comments