pgpool2.git / summary / log / commit / refs

commit    f78265b774cf495f4f4a5bd40cae3d15d333f234
Author:   User yamaguti <yamaguti at pgfoundry.org>
Date:     Fri Feb 08 08:10:43 2008 +0000

    Disabled PCP client's timeout.
    
    PCP commands still take timeout option, but ignores and set notimeout.


pcp/pcp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcp/pcp.c b/pcp/pcp.c index 1cacfc77e..8cf911c9a 100644 --- a/pcp/pcp.c +++ b/pcp/pcp.c @@ -1317,6 +1317,8 @@ pcp_attach_node(int nid) void pcp_set_timeout(long sec) { + /* disable timeout (wait forever!) (2008/02/08 yamaguti) */ + sec = 0; pcp_timeout.tv_sec = sec; } [parent: 35ad6a9d2226]