Skip to content

Commit 2f69214

Browse files
author
Igor Melnichenko
committed
Comment fix
1 parent fd324c4 commit 2f69214

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

topic/src/main/java/tech/ydb/topic/write/impl/WriterImpl.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,7 @@ private void encode(EnqueuedMessage message) {
191191

192192
private void moveEncodedMessagesToSendingQueue() {
193193
boolean haveNewMessagesToSend = false;
194-
// Working with encodingMessages under synchronized incomingQueue to prevent deadlocks
195-
// while working with free method
194+
// Working with encodingMessages under incomingQueueLock to prevent deadlocks while working with free method
196195
incomingQueueLock.lock();
197196

198197
try {

0 commit comments

Comments
 (0)