From 34c191f5ea07ea1ea41b24103d7301a7dcfacb05 Mon Sep 17 00:00:00 2001 From: chronolaw Date: Sat, 18 Jan 2025 14:26:38 +0800 Subject: [PATCH] add todo --- kong/clustering/rpc/socket.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kong/clustering/rpc/socket.lua b/kong/clustering/rpc/socket.lua index ddc35489976..1436f5edb47 100644 --- a/kong/clustering/rpc/socket.lua +++ b/kong/clustering/rpc/socket.lua @@ -347,7 +347,7 @@ function _M:start() local batch_requests = {} while not exiting() do - -- 5 seconds for non-batching rpc calls + -- TODO: find the more proper timeout local payload, err = self.outgoing:pop(5) if err then return nil, err