From: Adam Dickmeiss Date: Tue, 2 Oct 2007 10:08:39 +0000 (+0000) Subject: Removed target_timeout from parameters X-Git-Tag: PAZPAR2.1.0.5~20 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=591409403d68258a245cf30de428da8d7d1f2046;p=pazpar2-moved-to-github.git Removed target_timeout from parameters --- 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;