Add authentication_timeout into the result of "show pool_status".
authorYoshiyuki Asaba <y-asaba at pgfoundry.org>
Fri, 12 Oct 2007 04:14:57 +0000 (04:14 +0000)
committerYoshiyuki Asaba <y-asaba at pgfoundry.org>
Fri, 12 Oct 2007 04:14:57 +0000 (04:14 +0000)
pool_process_query.c

index 41f689b5b21182c2a380bd20108bf6fc5357a06e..fcf7ee238fe0b7d1c35e564eb2753fa930f14faa 100644 (file)
@@ -2353,6 +2353,11 @@ static void process_reporting(POOL_CONNECTION *frontend, POOL_CONNECTION_POOL *b
        status[i].desc = "max # of connection pool per child";
        i++;
 
+       status[i].name = "authentication_timeout";
+       snprintf(status[i].value, MAXVALLEN, "%d", pool_config.authentication_timeout);
+       status[i].desc = "maximum time in seconds to complete client authentication";
+       i++;
+
        status[i].name = "logdir";
        snprintf(status[i].value, MAXVALLEN, "%s", pool_config.logdir);
        status[i].desc = "logging directory";