git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
536deda
)
Increase logging timeout for registrations with subjobs on client side too.
author
František Dvořák
<valtri@civ.zcu.cz>
Tue, 6 Jun 2006 11:55:04 +0000
(11:55 +0000)
committer
František Dvořák
<valtri@civ.zcu.cz>
Tue, 6 Jun 2006 11:55:04 +0000
(11:55 +0000)
org.glite.lb.client/src/producer.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.client/src/producer.c
b/org.glite.lb.client/src/producer.c
index
3094432
..
4ebb6d2
100644
(file)
--- 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");