From d1b67e5aa99ca6a3d807e2dc101d2652347dd493 Mon Sep 17 00:00:00 2001 From: chronolaw Date: Sat, 12 Oct 2024 11:50:59 +0800 Subject: [PATCH] small clean --- kong/clustering/services/sync/rpc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kong/clustering/services/sync/rpc.lua b/kong/clustering/services/sync/rpc.lua index c184d99c132f9..5fe100ef734b5 100644 --- a/kong/clustering/services/sync/rpc.lua +++ b/kong/clustering/services/sync/rpc.lua @@ -320,7 +320,7 @@ end local function start_sync_timer(timer_func, delay) - local hdl, err = timer_func(delay or 0, do_sync) + local hdl, err = timer_func(delay, do_sync) if not hdl then return nil, err