diff --git a/benchmarks/performance.cpp b/benchmarks/performance.cpp index 6b0ac98a3..6a97437d4 100644 --- a/benchmarks/performance.cpp +++ b/benchmarks/performance.cpp @@ -230,7 +230,7 @@ benchmark_report use_connection_pool(const benchmark_params& params, Query query ozo::connection_pool_config config; config.capacity = params.coroutines + 1; config.queue_capacity = params.queue_capacity; - ozo::connection_pool pool(connection_info, config); + ozo::connection_pool pool(connection_info, config, !ozo::thread_safe); for (std::size_t token = 0; token < params.coroutines; ++token) { spawn(io, token, [&, token] (asio::yield_context yield) {