You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2023/01/25 16:19:30 UTC

[trafficserver] branch 9.2.x updated: s3_auth: Schedule reloading config event on TASK thread (#9328)

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.2.x by this push:
     new 887d4934d s3_auth: Schedule reloading config event on TASK thread (#9328)
887d4934d is described below

commit 887d4934d10f7e6495b3fd6e016bea997166eaa6
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Wed Jan 25 17:03:23 2023 +0900

    s3_auth: Schedule reloading config event on TASK thread (#9328)
    
    (cherry picked from commit ab5077d576b006de471a0d1a3f12ccf04df67a7a)
---
 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 352b44ce0..20984c049 100644
--- a/plugins/s3_auth/s3_auth.cc
+++ b/plugins/s3_auth/s3_auth.cc
@@ -488,7 +488,7 @@ public:
     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;