diff options
Diffstat (limited to 'doc/vmod-dbrw.3')
-rw-r--r-- | doc/vmod-dbrw.3 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/vmod-dbrw.3 b/doc/vmod-dbrw.3 index 139fbab..6f1dba8 100644 --- a/doc/vmod-dbrw.3 +++ b/doc/vmod-dbrw.3 | |||
@@ -13,7 +13,7 @@ | |||
13 | .\" | 13 | .\" |
14 | .\" You should have received a copy of the GNU General Public License | 14 | .\" You should have received a copy of the GNU General Public License |
15 | .\" along with vmod-dbrw. If not, see <http://www.gnu.org/licenses/>. | 15 | .\" along with vmod-dbrw. If not, see <http://www.gnu.org/licenses/>. |
16 | .TH VMOD-DBRW 1 "August 5, 2017" "VMOD-DBRW" "User Reference" | 16 | .TH VMOD-DBRW 1 "January 30, 2018" "VMOD-DBRW" "User Reference" |
17 | .SH NAME | 17 | .SH NAME |
18 | vmod-dbrw \- Database-driven rewrite rules for Varnish Cache | 18 | vmod-dbrw \- Database-driven rewrite rules for Varnish Cache |
19 | .SH SYNOPSIS | 19 | .SH SYNOPSIS |
@@ -99,6 +99,18 @@ section name is \fBclient\fR. | |||
99 | Use secure connection to the database server via SSL. The \fIFILE\fR | 99 | Use secure connection to the database server via SSL. The \fIFILE\fR |
100 | is a full pathname to the certificate authority file. | 100 | is a full pathname to the certificate authority file. |
101 | .TP | 101 | .TP |
102 | \fBtimeout\fR=\fIN\fR | ||
103 | Sets idle timeout for a single connection (seconds). The connection | ||
104 | will be closed and opened again if the module is to use it after | ||
105 | \fIN\fR or more seconds since its last use. Set \fBtimeout=-1\fR to | ||
106 | disable idle timeout (sessions will remain open until the SQL | ||
107 | server closes them). Set \fBtimeout=0\fR to close the connection after | ||
108 | each request (not recommended). | ||
109 | |||
110 | The default depends on the selected SQL backend. For MySQL, it equals | ||
111 | the value of the \fBwait_timeout\fR global variable. For PostgreSQL, | ||
112 | it is \fB-1\fR. | ||
113 | .TP | ||
102 | \fBoptions\fR=\fISTRING\fR | 114 | \fBoptions\fR=\fISTRING\fR |
103 | (\fBPostgres\fR-specific) Connection options. | 115 | (\fBPostgres\fR-specific) Connection options. |
104 | .TP | 116 | .TP |