@@ -3144,31 +3144,29 @@ The ``lua`` section outlines the configuration parameters related to the Lua env
3144
3144
3145
3145
``lua `` can be defined in any :ref: `scope <configuration_scopes >`.
3146
3146
3147
- .. NOTE ::
3148
-
3149
3147
- :ref: `lua.memory <configuration_reference_lua >`
3150
3148
3151
3149
3152
3150
.. _configuration_reference_lua_memory :
3153
3151
3154
3152
.. confval :: lua.memory
3155
3153
3156
- Specifies the maximum memory amount available to Lua scripts, measured in bytes.
3154
+ Specifies the maximum memory amount available to Lua scripts, measured in bytes.
3157
3155
3158
- |
3159
- | Type: integer
3160
- | Default Value: 2147483648 (2GB)
3161
- | Environment variable: TT_LUA_MEMORY
3156
+ When the specified value exceeds the current memory usage, the new limit takes effect immediately without a restart.
3157
+ However, **when the specified value is lower than the current memory usage, a restart of the instance is required ** for the change to take effect.
3162
3158
3163
- When the specified value exceeds the current memory usage, the new limit takes effect immediately without a restart.
3164
- However, **when the specified value is lower than the current memory usage, a restart of the instance is required ** for the change to take effect.
3159
+ Example to set the Lua memory limit to 4 GB:
3165
3160
3166
- Example to set the Lua memory limit to 4 GB:
3161
+ .. code-block :: yaml
3167
3162
3168
- .. code-block :: yaml
3163
+ lua :
3164
+ memory : 4294967296
3169
3165
3170
- lua :
3171
- memory : 4294967296
3166
+ |
3167
+ | Type: integer
3168
+ | Default: 2147483648 (2GB)
3169
+ | Environment variable: TT_LUA_MEMORY
3172
3170
3173
3171
.. _configuration_reference_memtx :
3174
3172
@@ -3545,6 +3543,7 @@ replication
3545
3543
The ``replication `` section defines configuration parameters related to :ref: `replication <replication >`.
3546
3544
3547
3545
- :ref: `replication.anon <configuration_reference_replication_anon >`
3546
+ - :ref: `replication.anon <configuration_reference_replication_autoexpel >`
3548
3547
- :ref: `replication.bootstrap_strategy <configuration_reference_replication_bootstrap_strategy >`
3549
3548
- :ref: `replication.connect_timeout <configuration_reference_replication_connect_timeout >`
3550
3549
- :ref: `replication.election_mode <configuration_reference_replication_election_mode >`
0 commit comments