feat(SQLite): allow configurable database pragma values (#5135)

Make page_size and journal_size_limit configurable values in rippled.cfg
This commit is contained in:
Denis Angell
2024-09-20 23:26:21 +02:00
committed by GitHub
parent 0ece395c24
commit a75309919e
8 changed files with 167 additions and 34 deletions

View File

@@ -1106,6 +1106,20 @@
# This setting may not be combined with the
# "safety_level" setting.
#
# page_size Valid values: integer (MUST be power of 2 between 512 and 65536)
# The default is 4096 bytes. This setting determines
# the size of a page in the transaction.db file.
# See https://www.sqlite.org/pragma.html#pragma_page_size
# for more details about the available options.
#
# journal_size_limit Valid values: integer
# The default is 1582080. This setting limits
# the size of the journal for transaction.db file. When the limit is
# reached, older entries will be deleted.
# See https://www.sqlite.org/pragma.html#pragma_journal_size_limit
# for more details about the available options.
#
#
#-------------------------------------------------------------------------------
#
# 7. Diagnostics