From: Aleš Křenek Date: Fri, 31 Mar 2006 19:14:43 +0000 (+0000) Subject: extend the operation timeout adaptively for DAGs X-Git-Tag: glite-lb-server_R_1_3_7~4 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=48a35a7cef920bc07ad3ccd37cd631a4330260da;p=jra1mw.git extend the operation timeout adaptively for DAGs --- diff --git a/org.glite.lb.server/src/store.c.T b/org.glite.lb.server/src/store.c.T index 1130c93..dd49e07 100644 --- a/org.glite.lb.server/src/store.c.T +++ b/org.glite.lb.server/src/store.c.T @@ -480,6 +480,10 @@ static int register_subjobs(edg_wll_Context ctx,const edg_wll_RegJobEvent *e) gettimeofday(&now,NULL); +/* XXX: increase the overall request timeout. */ + ctx->p_tmp_timeout.tv_sec += e->nsubjobs; + if (ctx->p_tmp_timeout.tv_sec > 86400) ctx->p_tmp_timeout.tv_sec = 86400; + for (i=0; insubjobs; i++) { edg_wll_Event e2; int seq;