From 9c5d5d176df284a6ec614456306e87cb3a8d2f12 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 2 Oct 2007 07:50:12 +0000 Subject: [PATCH] Lower _connect_ timeout to 15 seconds. --- src/eventl.c | 4 ++-- src/logic.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/eventl.c b/src/eventl.c index 3da49de..980036e 100644 --- a/src/eventl.c +++ b/src/eventl.c @@ -1,4 +1,4 @@ -/* $Id: eventl.c,v 1.7 2007-07-09 19:30:35 adam Exp $ +/* $Id: eventl.c,v 1.8 2007-10-02 07:50:12 adam Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -84,7 +84,7 @@ int event_loop(IOCHAN *iochans) FD_ZERO(&out); FD_ZERO(&except); timeout = &to; /* hang on select */ - to.tv_sec = 30; + to.tv_sec = 15; to.tv_usec = 0; max = 0; for (p = *iochans; p; p = p->next) diff --git a/src/logic.c b/src/logic.c index 8e05608..a1de748 100644 --- a/src/logic.c +++ b/src/logic.c @@ -1,4 +1,4 @@ -/* $Id: logic.c,v 1.66 2007-09-10 16:25:50 adam Exp $ +/* $Id: logic.c,v 1.67 2007-10-02 07:50:12 adam Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -95,7 +95,7 @@ struct parameters global_parameters = 0, 0, 180, - 30 + 15 }; // Recursively traverse query structure to extract terms. -- 1.7.10.4