From db4ac711040d4e3203f40dbf675f013d60a1d3a5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Tue, 6 Jun 2006 11:55:04 +0000 Subject: [PATCH] Increase logging timeout for registrations with subjobs on client side too. --- org.glite.lb.client/src/producer.c | 3 +++ 1 file changed, 3 insertions(+) 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"); -- 1.8.2.3