From: Willy Tarreau Date: Fri, 29 Jan 2021 11:39:32 +0000 (+0100) Subject: MINOR: stick-tables: export process_table_expire() X-Git-Tag: v2.4-dev7~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5c25daa170713911d7c6be33699caa71fc362da4;p=thirdparty%2Fhaproxy.git 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". --- diff --git a/src/stick_table.c b/src/stick_table.c index da07b8c839..485f6f1841 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;