Skip to content

Commit

Permalink
use list for RequestProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
JackyWoo committed Oct 7, 2023
1 parent cd30547 commit d51066f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Service/RequestProcessor.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class RequestProcessor
size_t getRunnerId(int64_t session_id) const { return session_id % runner_count; }


using RequestForSessions = std::vector<KeeperStore::RequestForSession>;
using RequestForSessions = std::list<KeeperStore::RequestForSession>;

ThreadFromGlobalPool main_thread;

Expand Down Expand Up @@ -96,7 +96,7 @@ class RequestProcessor

Poco::Logger * log;

UInt64 operation_timeout_ms = 10000;
UInt64 operation_timeout_ms;
};

}

0 comments on commit d51066f

Please sign in to comment.