From 591409403d68258a245cf30de428da8d7d1f2046 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 2 Oct 2007 10:08:39 +0000 Subject: [PATCH] Removed target_timeout from parameters --- src/logic.c | 15 +++++++-------- src/parameters.h | 3 +-- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/logic.c b/src/logic.c index a1de748..2316945 100644 --- a/src/logic.c +++ b/src/logic.c @@ -1,4 +1,4 @@ -/* $Id: logic.c,v 1.67 2007-10-02 07:50:12 adam Exp $ +/* $Id: logic.c,v 1.68 2007-10-02 10:08:39 adam Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -82,20 +82,19 @@ struct parameters global_parameters = "", "", 0, - 0, /* dump_records */ - 0, /* debug_mode */ - 30, + 0, // dump_records + 0, // debug_mode + 30, // operations timeout "81", "Index Data PazPar2", VERSION, - 600, // 10 minutes - 60, + 60, // session timeout 100, MAX_CHUNK, 0, 0, - 180, - 15 + 180, // Z39.50 session timeout + 15 // Connect timeout }; // Recursively traverse query structure to extract terms. diff --git a/src/parameters.h b/src/parameters.h index 5ddef27..6ee71d6 100644 --- a/src/parameters.h +++ b/src/parameters.h @@ -1,4 +1,4 @@ -/* $Id: parameters.h,v 1.5 2007-07-25 11:41:32 adam Exp $ +/* $Id: parameters.h,v 1.6 2007-10-02 10:08:39 adam Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -36,7 +36,6 @@ struct parameters { char implementationId[128]; char implementationName[128]; char implementationVersion[128]; - int target_timeout; // seconds int session_timeout; int toget; int chunk; -- 1.7.10.4