From 5c25daa170713911d7c6be33699caa71fc362da4 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 29 Jan 2021 12:39:32 +0100 Subject: [PATCH] MINOR: stick-tables: export process_table_expire() This handler can take quite some time as it deletes a large number of entries under a lock, let's export it so that it's immediately visible in "show profiling". --- src/stick_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stick_table.c b/src/stick_table.c index da07b8c83..485f6f184 100644 --- a/src/stick_table.c +++ b/src/stick_table.c @@ -626,7 +626,7 @@ out_unlock: * Task processing function to trash expired sticky sessions. A pointer to the * task itself is returned since it never dies. */ -static struct task *process_table_expire(struct task *task, void *context, unsigned short state) +struct task *process_table_expire(struct task *task, void *context, unsigned short state) { struct stktable *t = context;