Skip to content

Commit

Permalink
Update SQLite3 max_page_count to match current defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
jscottbranson authored and intelliot committed Sep 14, 2024
1 parent 85214bd commit d66235d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ripple/app/main/DBInit.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ inline constexpr auto TxDBName{"transaction.db"};
inline constexpr std::array<char const*, 4> TxDBPragma
{
"PRAGMA page_size=4096;", "PRAGMA journal_size_limit=1582080;",
"PRAGMA max_page_count=2147483646;",
"PRAGMA max_page_count=4294967294;",

#if (ULONG_MAX > UINT_MAX) && !defined(NO_SQLITE_MMAP)
"PRAGMA mmap_size=17179869184;"
Expand Down

0 comments on commit d66235d

Please sign in to comment.