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 2017/03/29 22:35:09 UTC

[trafficserver] branch 7.1.x updated: Perform the config reload on ET_TASK threads

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

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

The following commit(s) were added to refs/heads/7.1.x by this push:
       new  c6cc1cc   Perform the config reload on ET_TASK threads
c6cc1cc is described below

commit c6cc1cced647bf3ccf6c3c42fce57926a7e4841c
Author: vijayabhaskar <vi...@yahoo.com>
AuthorDate: Wed Mar 29 20:25:43 2017 +0000

    Perform the config reload on ET_TASK threads
    
    (cherry picked from commit a22798fd996c3dbb32ab70dfa843e23ce5cf4b8e)
---
 mgmt/ProxyConfig.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mgmt/ProxyConfig.h b/mgmt/ProxyConfig.h
index 9247b3b..0c9431e 100644
--- a/mgmt/ProxyConfig.h
+++ b/mgmt/ProxyConfig.h
@@ -35,6 +35,7 @@
 #include "ts/ink_memory.h"
 #include "ProcessManager.h"
 #include "I_EventSystem.h"
+#include "I_Tasks.h"
 
 class ProxyMutex;
 
@@ -111,7 +112,7 @@ template <typename UpdateClass>
 int
 ConfigScheduleUpdate(Ptr<ProxyMutex> &mutex)
 {
-  eventProcessor.schedule_imm(new ConfigUpdateContinuation<UpdateClass>(mutex), ET_CALL);
+  eventProcessor.schedule_imm(new ConfigUpdateContinuation<UpdateClass>(mutex), ET_TASK);
   return 0;
 }
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].