Add an index to thread pipeline iterators for load balancing
This commit is contained in:
@@ -153,7 +153,10 @@ private:
|
||||
int get_epoll_for_thread(int thread_id) const;
|
||||
|
||||
// Helper for processing connection I/O
|
||||
void process_connection_io(std::unique_ptr<Connection> &conn_ptr, int events);
|
||||
void process_connection_reads(std::unique_ptr<Connection> &conn_ptr,
|
||||
int events);
|
||||
void process_connection_writes(std::unique_ptr<Connection> &conn_ptr,
|
||||
int events);
|
||||
|
||||
// Helper for processing a batch of connections with their events
|
||||
void process_connection_batch(int epollfd,
|
||||
|
||||
Reference in New Issue
Block a user