From: František Dvořák Date: Tue, 6 Jun 2006 11:55:04 +0000 (+0000) Subject: Increase logging timeout for registrations with subjobs on client side too. X-Git-Tag: gridsite-core_R_1_3_1~26 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=db4ac711040d4e3203f40dbf675f013d60a1d3a5;p=jra1mw.git Increase logging timeout for registrations with subjobs on client side too. --- diff --git a/org.glite.lb.client/src/producer.c b/org.glite.lb.client/src/producer.c index 3094432..4ebb6d2 100644 --- a/org.glite.lb.client/src/producer.c +++ b/org.glite.lb.client/src/producer.c @@ -757,6 +757,9 @@ static int edg_wll_RegisterJobMaster( if ((type == EDG_WLL_REGJOB_DAG || type == EDG_WLL_REGJOB_PARTITIONED) && num_subjobs > 0) { err = edg_wll_GenerateSubjobIds(context,job,num_subjobs,intseed,subjobs); + /* increase log timeout on client (the same as on BK server) */ + context->p_sync_timeout.tv_sec += num_subjobs; + if (context->p_sync_timeout.tv_sec > 86400) context->p_sync_timeout.tv_sec = 86400; } if (err) { edg_wll_UpdateError(context,EINVAL,"edg_wll_RegisterJobMaster(): edg_wll_GenerateSubjobIds() error");