summaryrefslogtreecommitdiff
path: root/proxy_lua.c
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2023-01-09 15:46:14 -0800
committerdormando <dormando@rydia.net>2023-01-09 15:46:14 -0800
commit2b9590d9bf8b7cf7f8da0c6ab6e23db6c326bac9 (patch)
tree5a527289d2d69a306d3bd5b125f8241c8dbfc3f3 /proxy_lua.c
parentdb855da755f297df3165809073b0ca6a6299fcbd (diff)
downloadmemcached-2b9590d9bf8b7cf7f8da0c6ab6e23db6c326bac9.tar.gz
proxy: exposed resp:elapsed()
I'm a bit concerned that the compile warning popped up only after I started changing something else. Need to upgrade my OS again? :(
Diffstat (limited to 'proxy_lua.c')
-rw-r--r--proxy_lua.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proxy_lua.c b/proxy_lua.c
index bb70ad7..8b1e4d8 100644
--- a/proxy_lua.c
+++ b/proxy_lua.c
@@ -984,6 +984,7 @@ int proxy_register_libs(void *ctx, LIBEVENT_THREAD *t, void *state) {
{"vlen", mcplib_response_vlen},
{"code", mcplib_response_code},
{"line", mcplib_response_line},
+ {"elapsed", mcplib_response_elapsed},
{"__gc", mcplib_response_gc},
{NULL, NULL}
};