From 846ebc60f05d25446bda5c9b302462acd61ac81c Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Thu, 12 Oct 2023 14:01:58 -0500 Subject: [PATCH] GH-1736 read-only trxs should only be posted to read_exclusive queue --- tests/test_read_only_trx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_read_only_trx.cpp b/tests/test_read_only_trx.cpp index ffe9fd7e41..636c7228c7 100644 --- a/tests/test_read_only_trx.cpp +++ b/tests/test_read_only_trx.cpp @@ -132,7 +132,7 @@ void test_trxs_common(std::vector& specific_args, bool test_disable chain_plug->get_read_only_api(fc::seconds(90)).get_account(chain_apis::read_only::get_account_params{.account_name=config::system_account_name}, fc::time_point::now()+fc::seconds(90)); ++num_get_account_calls; }); - app->executor().post( priority::low, exec_queue::read_only, [ptrx, &next_calls, &num_posts, &trace_with_except, &trx_match, &app]() { + app->executor().post( priority::low, exec_queue::read_exclusive, [ptrx, &next_calls, &num_posts, &trace_with_except, &trx_match, &app]() { ++num_posts; bool return_failure_traces = true; app->get_method()(ptrx,