From: Zdeněk Salvet Date: Wed, 29 Aug 2007 17:36:43 +0000 (+0000) Subject: Set lastUpdateTime of embryonic subjobs correctly (otherwise X-Git-Tag: glite-lb-client_R_3_0_1_1~14 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=d517d6346ca85d448e31a5ab98e014e50460967e;p=jra1mw.git Set lastUpdateTime of embryonic subjobs correctly (otherwise they can be purged too soon). --- diff --git a/org.glite.lb.server/src/store.c.T b/org.glite.lb.server/src/store.c.T index 7875300..2a2dabc 100644 --- a/org.glite.lb.server/src/store.c.T +++ b/org.glite.lb.server/src/store.c.T @@ -695,6 +695,7 @@ static edg_wll_ErrorCode states_values_embryonic( stat->pub.owner = strdup(e->user); stat->pub.jobtype = EDG_WLL_STAT_SIMPLE; stat->pub.stateEnterTimes[1 + EDG_WLL_JOB_SUBMITTED] = (int)e->timestamp.tv_sec; + stat->lastUpdateTime = e->timestamp; jobid_md5 = edg_wlc_JobIdGetUnique(jobid); parent_md5 = edg_wlc_JobIdGetUnique(e->jobId);