diff options
author | dormando <dormando@rydia.net> | 2023-01-26 15:41:37 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2023-01-27 19:08:47 -0800 |
commit | 0503e4fb125cee5d8711229ee07e561f9fb36bc3 (patch) | |
tree | 5366192967ff7edffbe1daa387b8711b00018842 /proxy_lua.c | |
parent | e56062321515728fdb5b9c80589f51db3357827c (diff) | |
download | memcached-0503e4fb125cee5d8711229ee07e561f9fb36bc3.tar.gz |
proxy: add mcp.await_logerrors()
Logs any backgrounded requests that resulted in an error.
Note that this may be a temporary interface, and could be deprecated in
the future.
Diffstat (limited to 'proxy_lua.c')
-rw-r--r-- | proxy_lua.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proxy_lua.c b/proxy_lua.c index 91b0840..14f2564 100644 --- a/proxy_lua.c +++ b/proxy_lua.c @@ -1009,6 +1009,7 @@ int proxy_register_libs(void *ctx, LIBEVENT_THREAD *t, void *state) { {"add_stat", mcplib_add_stat}, {"stat", mcplib_stat}, {"await", mcplib_await}, + {"await_logerrors", mcplib_await_logerrors}, {"log", mcplib_log}, {"log_req", mcplib_log_req}, {"log_reqsample", mcplib_log_reqsample}, |