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".
This commit is contained in:
Willy Tarreau 2021-01-29 12:39:32 +01:00
parent f6c88421b7
commit 5c25daa170

View File

@ -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;