summaryrefslogtreecommitdiff
path: root/proto_proxy.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2022-01-26 22:33:17 -0800
committerdormando <dormando@rydia.net>2022-01-26 22:33:17 -0800
commit5e5f18a893d3670b741a23deb282ddbf7ddc5fd0 (patch)
tree08a56206edc5f1da837c5c7f70f6833c03bde2f0 /proto_proxy.h
parent52947e418f437e4aa6fb62e0fad715492ae1e38e (diff)
downloadmemcached-5e5f18a893d3670b741a23deb282ddbf7ddc5fd0.tar.gz
proxy: `-o proxy_uring` to enable io_uring
instead of automatically attempting to use io_uring if compiled in, require a start option.
Diffstat (limited to 'proto_proxy.h')
-rw-r--r--proto_proxy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto_proxy.h b/proto_proxy.h
index aa58323..64d5759 100644
--- a/proto_proxy.h
+++ b/proto_proxy.h
@@ -8,7 +8,7 @@ void process_proxy_stats(ADD_STAT add_stats, conn *c);
int try_read_command_proxy(conn *c);
void complete_nread_proxy(conn *c);
void proxy_thread_init(LIBEVENT_THREAD *thr);
-void proxy_init(void);
+void proxy_init(bool proxy_uring);
// TODO: need better names or a better interface for these. can be confusing
// to reason about the order.
void proxy_start_reload(void *arg);