Skip to content

Commit e33e823

Browse files
committed
setting yield idle strategy for framer thread so other threads don't get starvation
1 parent 9a096c2 commit e33e823

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

artio-binary-entrypoint-system-tests/src/test/java/uk/co/real_logic/artio/system_tests/AbstractBinaryEntryPointSystemTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
import static uk.co.real_logic.artio.system_tests.AbstractMessageBasedAcceptorSystemTest.THROTTLE_MSG_LIMIT;
5858
import static uk.co.real_logic.artio.system_tests.BinaryEntryPointClient.CL_ORD_ID;
5959
import static uk.co.real_logic.artio.system_tests.SystemTestUtil.ACCEPTOR_LOGS;
60+
import static uk.co.real_logic.artio.system_tests.SystemTestUtil.IDLE_STRATEGY;
6061
import static uk.co.real_logic.artio.system_tests.SystemTestUtil.TEST_REPLY_TIMEOUT_IN_MS;
6162

6263
public class AbstractBinaryEntryPointSystemTest
@@ -143,6 +144,7 @@ void setupJustArtio(
143144
final EngineConfiguration engineConfig = new EngineConfiguration()
144145
.logFileDir(ACCEPTOR_LOGS)
145146
.scheduler(new LowResourceEngineScheduler())
147+
.framerIdleStrategy(IDLE_STRATEGY)
146148
.libraryAeronChannel(IPC_CHANNEL)
147149
.slowConsumerTimeoutInMs(TEST_REPLY_TIMEOUT_IN_MS)
148150
.replyTimeoutInMs(TEST_REPLY_TIMEOUT_IN_MS)

0 commit comments

Comments
 (0)