From 48acf01f7b05d2978265f04a271bb3b81753d000 Mon Sep 17 00:00:00 2001 From: Masaori Koshiba Date: Mon, 23 Jan 2023 16:10:59 +0900 Subject: [PATCH] s3_auth: Schedule reloading config event on TASK thread --- plugins/s3_auth/s3_auth.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/s3_auth/s3_auth.cc b/plugins/s3_auth/s3_auth.cc index 352b44ce0fa..20984c04906 100644 --- a/plugins/s3_auth/s3_auth.cc +++ b/plugins/s3_auth/s3_auth.cc @@ -488,7 +488,7 @@ class S3Config if (_conf_rld_act != nullptr && !TSActionDone(_conf_rld_act)) { TSActionCancel(_conf_rld_act); } - _conf_rld_act = TSContScheduleOnPool(_conf_rld, delay * 1000, TS_THREAD_POOL_NET); + _conf_rld_act = TSContScheduleOnPool(_conf_rld, delay * 1000, TS_THREAD_POOL_TASK); } ts::shared_mutex reload_mutex;