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 ce4b036cf8 Reload hosting.config on TASK thread (#9699)
ce4b036cf8 is described below
commit ce4b036cf8a59a60eccd5c07612f27b232ad0faa
Author: Masaori Koshiba <[email protected]>
AuthorDate: Fri May 12 07:28:50 2023 +0900
Reload hosting.config on TASK thread (#9699)
(cherry picked from commit a4ae0d16f492596357db6ae12ca0f3634108f89a)
---
iocore/cache/CacheHosting.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iocore/cache/CacheHosting.cc b/iocore/cache/CacheHosting.cc
index 78f6018d38..2ca7dde941 100644
--- a/iocore/cache/CacheHosting.cc
+++ b/iocore/cache/CacheHosting.cc
@@ -230,7 +230,7 @@ CacheHostTable::config_callback(const char * /* name
ATS_UNUSED */, RecDataT /*
RecData /* data ATS_UNUSED */, void *cookie)
{
ReplaceablePtr<CacheHostTable> *ppt =
static_cast<ReplaceablePtr<CacheHostTable> *>(cookie);
- eventProcessor.schedule_imm(new CacheHostTableConfig(ppt));
+ eventProcessor.schedule_imm(new CacheHostTableConfig(ppt), ET_TASK);
return 0;
}