From cc8cc441a1ba12cdd2e2b066e245ad93125d6b2f Mon Sep 17 00:00:00 2001 From: "Leigh B. Stoller" <stoller@flux.utah.edu> Date: Thu, 23 May 2002 16:36:00 +0000 Subject: [PATCH] Slow down DB polling waiting for nodes to come up! --- event/sched/event-sched.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/event/sched/event-sched.c b/event/sched/event-sched.c index 4ea7f2d382..2415da4621 100644 --- a/event/sched/event-sched.c +++ b/event/sched/event-sched.c @@ -171,7 +171,10 @@ main(int argc, char **argv) info("Waiting for nodes in %s/%s to come up ...\n", pid, eid); - sleep(1); + /* + * Don't want to pound the DB too much. + */ + sleep(3); } /* -- GitLab