From 059071f8241adb6502fc2d067adb0ec270e1cd61 Mon Sep 17 00:00:00 2001 From: azw Date: Tue, 11 Apr 2023 13:24:50 +0000 Subject: [PATCH] 1 --- server/wsproxy/mastermgr.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/server/wsproxy/mastermgr.cc b/server/wsproxy/mastermgr.cc index ab016d6..e40dc7d 100644 --- a/server/wsproxy/mastermgr.cc +++ b/server/wsproxy/mastermgr.cc @@ -110,7 +110,15 @@ void MasterMgr::RequestTargetServer(f8::MsgHdr& hdr, pending_socket_hash_[hdr.socket_handle] = curr_context_id_; assert(pending_request_hash_.find(curr_context_id_) == pending_request_hash_.end()); pending_request_hash_[curr_context_id_] = new_hdr; - #if 0 + #if 1 + f8::Timer::Instance()->SetTimeout + (1000 * 10, + [] (int event, const a8::Args* args) + { + + } + ); + #else auto timer_func = [] (const a8::XParams& param) {