Browse Source

Merge branch 'closedown-4.2.x' into candidate-4.2.10

Conflicts:
	version.cmake

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 11 years ago
parent
commit
e97ee4b871
2 changed files with 2 additions and 1 deletions
  1. 1 0
      esp/services/ws_smc/ws_smcService.cpp
  2. 1 1
      esp/services/ws_smc/ws_smcService.hpp

+ 1 - 0
esp/services/ws_smc/ws_smcService.cpp

@@ -672,6 +672,7 @@ ActivityInfo* CWsSMCEx::createActivityInfo(IEspContext &context)
     Owned<ActivityInfo> activityInfo = new ActivityInfo();
     readTargetClusterInfo(context, clusters, serverStatusRoot, activityInfo);
     readRunningWUsAndQueuedWUs(context, envRoot, serverStatusRoot, dfuRecoveryRoot, activityInfo);
+    activityInfo->timeCached.setNow();
     return activityInfo.getClear();
 }
 

+ 1 - 1
esp/services/ws_smc/ws_smcService.hpp

@@ -93,7 +93,7 @@ struct ActivityInfo : public CInterface, implements IInterface
 {
     IMPLEMENT_IINTERFACE;
 
-    ActivityInfo() { timeCached.setNow(); };
+    ActivityInfo() {};
     bool isCachedActivityInfoValid(unsigned timeOutSeconds);
 
     CDateTime timeCached;