From 02928379cdf9ab174bdb792f9e5cf8dcbaa05fdb Mon Sep 17 00:00:00 2001 From: bitliu Date: Thu, 22 Apr 2021 12:06:50 +0800 Subject: [PATCH 1/2] Update proxy_wasm_api.h Signed-off-by: bitliu --- proxy_wasm_api.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proxy_wasm_api.h b/proxy_wasm_api.h index 61eabe5..5511b68 100644 --- a/proxy_wasm_api.h +++ b/proxy_wasm_api.h @@ -1575,4 +1575,8 @@ inline uint64_t getCurrentTimeNanoseconds() { return t; } +inline void setTickPeriodMilliseconds(uint32_t millisecond) { + proxy_set_tick_period_milliseconds(millisecond); +} + inline void RootContext::done() { proxy_done(); } From 41087e4b74259c548de78343c315f4e11397c430 Mon Sep 17 00:00:00 2001 From: BITLIU Date: Thu, 22 Apr 2021 12:18:15 +0800 Subject: [PATCH 2/2] Update proxy_wasm_api.h Signed-off-by: bitliu --- proxy_wasm_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy_wasm_api.h b/proxy_wasm_api.h index 5511b68..13ca2dc 100644 --- a/proxy_wasm_api.h +++ b/proxy_wasm_api.h @@ -1576,7 +1576,7 @@ inline uint64_t getCurrentTimeNanoseconds() { } inline void setTickPeriodMilliseconds(uint32_t millisecond) { - proxy_set_tick_period_milliseconds(millisecond); + proxy_set_tick_period_milliseconds(millisecond); } inline void RootContext::done() { proxy_done(); }