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:
bb309fb
)
extend the operation timeout adaptively for DAGs
author
Aleš Křenek
<ljocha@ics.muni.cz>
Fri, 31 Mar 2006 19:14:43 +0000
(19:14 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Fri, 31 Mar 2006 19:14:43 +0000
(19:14 +0000)
org.glite.lb.server/src/store.c.T
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/store.c.T
b/org.glite.lb.server/src/store.c.T
index
1130c93
..
dd49e07
100644
(file)
--- 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; i<e->nsubjobs; i++) {
edg_wll_Event e2;
int seq;