Skip to content

Commit 217e43b

Browse files
committed
Add NOSONAR to IntReactiveUtils#emitNext() loop
1 parent 3cb13af commit 217e43b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-integration-core/src/main/java/org/springframework/integration/util/IntegrationReactiveUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ private static <T> Flux<Message<T>> adaptSubscribableChannelToPublisher(Subscrib
130130
@SuppressWarnings("unchecked")
131131
MessageHandler messageHandler = (message) -> {
132132
while (!sink.emitNext((Message<T>) message).hasEmitted()) {
133-
LockSupport.parkNanos(10);
133+
LockSupport.parkNanos(100); // NOSONAR
134134
}
135135
};
136136
inputChannel.subscribe(messageHandler);

0 commit comments

Comments
 (0)