1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
|
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 290998 $ -->
<section xml:id="tokyo-tyrant.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
&extension.runtime;
<para>
<table>
<title>tokyo_tyrant &ConfigureOptions;</title>
<tgroup cols="4">
<thead>
<row>
<entry>&Name;</entry>
<entry>&Default;</entry>
<entry>&Changeable;</entry>
<entry>&Changelog;</entry>
</row>
</thead>
<tbody>
<row>
<entry>tokyo_tyrant.default_timeout</entry>
<entry>2.0</entry>
<entry>PHP_INI_ALL</entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
<row>
<entry>tokyo_tyrant.session_salt</entry>
<entry>&null;</entry>
<entry>PHP_INI_ALL</entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
<row>
<entry>tokyo_tyrant.key_prefix</entry>
<entry>&null;</entry>
<entry>PHP_INI_ALL</entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
<row>
<entry>tokyo_tyrant.allow_failover</entry>
<entry>1</entry>
<entry>PHP_INI_ALL</entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
<row>
<entry>tokyo_tyrant.fail_threshold</entry>
<entry>5</entry>
<entry>PHP_INI_ALL</entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
<row>
<entry>tokyo_tyrant.health_check_divisor</entry>
<entry>1000</entry>
<entry>PHP_INI_ALL</entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
<row>
<entry>tokyo_tyrant.php_expiration</entry>
<entry>0</entry>
<entry>PHP_INI_ALL</entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
</tbody>
</tgroup>
</table>
</para>
&ini.descriptions.title;
<para>
<variablelist>
<varlistentry xml:id="ini.tokyo-tyrant.default-timeout">
<term>
<parameter>tokyo_tyrant.default_timeout</parameter>
<type>integer</type>
</term>
<listitem>
<para>
Default timeout when connecting to databases
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.tokyo-tyrant.session-salt">
<term>
<parameter>tokyo_tyrant.session_salt</parameter>
<type>string</type>
</term>
<listitem>
<para>
The secret that is used to salt session id
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.tokyo-tyrant.key-prefix">
<term>
<parameter>tokyo_tyrant.key_prefix</parameter>
<type>string</type>
</term>
<listitem>
<para>
Prefix all keys with this string. The prefix is transparent
to the developer but helps making sure that keys won't collide if multiple
applications are using the same database.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.tokyo-tyrant.allow-failover">
<term>
<parameter>tokyo_tyrant.allow_failover</parameter>
<type>integer</type>
</term>
<listitem>
<para>
Whether to allow session failover in case a server dies.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.tokyo-tyrant.fail-threshold">
<term>
<parameter>tokyo_tyrant.fail_threshold</parameter>
<type>integer</type>
</term>
<listitem>
<para>
How many read/write or connection failures is allowed
before server is marked as failed.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.tokyo-tyrant.health-check-divisor">
<term>
<parameter>tokyo_tyrant.health_check_divisor</parameter>
<type>integer</type>
</term>
<listitem>
<para>
Defines the divisor for the health check probability. If there are failed
servers and the probability matches, the servers are health checked and
in case the server seems healthy, it will be added back to the pool.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.tokyo-tyrant.php-expiration">
<term>
<parameter>tokyo_tyrant.php_expiration</parameter>
<type>integer</type>
</term>
<listitem>
<para>
Whether to use built in session expiration mechanism or delegate
the expiration to a lua-script on the server-side.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>
|