浏览代码

Merge pull request #12530 from wangkx/h22091

HPCC-22091 Check ESP service container before running scheduled WU

Reviewed-By: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 6 年之前
父节点
当前提交
639d4d19c3
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      esp/services/ws_workunits/ws_workunitsHelpers.cpp

+ 5 - 1
esp/services/ws_workunits/ws_workunitsHelpers.cpp

@@ -3014,7 +3014,11 @@ int WUSchedule::run()
     unsigned int waitTimeMillies = 1000*60;
     while(!stopping)
     {
-        if (!detached)
+        if (!m_container)
+        {
+            DBGLOG("ECLWorkunit WUSchedule Thread is waiting for container to be set.");
+        }
+        else if (!detached)
         {
             try
             {