Initialize stateEnterTime value for subjobs to the same value as the lastUpdateTime...
authorZdeněk Šustr <sustr4@cesnet.cz>
Mon, 30 Aug 2010 11:37:55 +0000 (11:37 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Mon, 30 Aug 2010 11:37:55 +0000 (11:37 +0000)
org.glite.lb.server/src/store.c.T

index 9213926..cfbc7a5 100644 (file)
@@ -664,6 +664,7 @@ edg_wll_ErrorCode intJobStat_embryonic(
        stat->pub.jobtype = EDG_WLL_STAT_SIMPLE;
        stat->pub.stateEnterTimes[1 + EDG_WLL_JOB_SUBMITTED] = (int)e->timestamp.tv_sec;
        stat->pub.lastUpdateTime = e->timestamp;
+       stat->pub.stateEnterTime = e->timestamp;
 
 err:
        return edg_wll_Error(ctx,NULL,NULL);