Skip to content

Commit 783c5ab

Browse files
authored
Follow-up on #4649" (#4737)
* indent fixed * indent fixed_1 * indent fixed_2
1 parent 2d943c9 commit 783c5ab

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

doc/reference/configuration/configuration_reference.rst

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3144,31 +3144,29 @@ The ``lua`` section outlines the configuration parameters related to the Lua env
31443144

31453145
``lua`` can be defined in any :ref:`scope <configuration_scopes>`.
31463146

3147-
.. NOTE::
3148-
31493147
- :ref:`lua.memory <configuration_reference_lua>`
31503148

31513149

31523150
.. _configuration_reference_lua_memory:
31533151

31543152
.. confval:: lua.memory
31553153

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.
31573155

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.
31623158

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:
31653160

3166-
Example to set the Lua memory limit to 4 GB:
3161+
.. code-block:: yaml
31673162
3168-
.. code-block:: yaml
3163+
lua:
3164+
memory: 4294967296
31693165
3170-
lua:
3171-
memory: 4294967296
3166+
|
3167+
| Type: integer
3168+
| Default: 2147483648 (2GB)
3169+
| Environment variable: TT_LUA_MEMORY
31723170
31733171
.. _configuration_reference_memtx:
31743172

@@ -3545,6 +3543,7 @@ replication
35453543
The ``replication`` section defines configuration parameters related to :ref:`replication <replication>`.
35463544

35473545
- :ref:`replication.anon <configuration_reference_replication_anon>`
3546+
- :ref:`replication.anon <configuration_reference_replication_autoexpel>`
35483547
- :ref:`replication.bootstrap_strategy <configuration_reference_replication_bootstrap_strategy>`
35493548
- :ref:`replication.connect_timeout <configuration_reference_replication_connect_timeout>`
35503549
- :ref:`replication.election_mode <configuration_reference_replication_election_mode>`

0 commit comments

Comments
 (0)