summaryrefslogtreecommitdiff
path: root/proxy.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2023-01-26 15:41:37 -0800
committerdormando <dormando@rydia.net>2023-01-27 19:08:47 -0800
commit0503e4fb125cee5d8711229ee07e561f9fb36bc3 (patch)
tree5366192967ff7edffbe1daa387b8711b00018842 /proxy.h
parente56062321515728fdb5b9c80589f51db3357827c (diff)
downloadmemcached-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.h')
-rw-r--r--proxy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proxy.h b/proxy.h
index 7c94e97..6ce6ec8 100644
--- a/proxy.h
+++ b/proxy.h
@@ -480,6 +480,7 @@ enum mcp_await_e {
AWAIT_BACKGROUND, // returns as soon as background jobs are dispatched
};
int mcplib_await(lua_State *L);
+int mcplib_await_logerrors(lua_State *L);
int mcplib_await_run(conn *c, mc_resp *resp, lua_State *L, int coro_ref);
int mcplib_await_return(io_pending_proxy_t *p);