From d51066f544a6f8c304aec8208dd7e52eb4a413e4 Mon Sep 17 00:00:00 2001 From: JackyWoo Date: Sat, 7 Oct 2023 11:33:02 +0800 Subject: [PATCH] use list for RequestProcessor --- src/Service/RequestProcessor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Service/RequestProcessor.h b/src/Service/RequestProcessor.h index 2d6226d0c9..a16c1d61ce 100644 --- a/src/Service/RequestProcessor.h +++ b/src/Service/RequestProcessor.h @@ -61,7 +61,7 @@ class RequestProcessor size_t getRunnerId(int64_t session_id) const { return session_id % runner_count; } - using RequestForSessions = std::vector; + using RequestForSessions = std::list; ThreadFromGlobalPool main_thread; @@ -96,7 +96,7 @@ class RequestProcessor Poco::Logger * log; - UInt64 operation_timeout_ms = 10000; + UInt64 operation_timeout_ms; }; }