mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 07:25:51 +00:00
Allow larger mmaps.
This commit is contained in:
@@ -9,7 +9,7 @@ const char* TxnDBInit[] =
|
|||||||
"PRAGMA journal_size_limit=1582080;",
|
"PRAGMA journal_size_limit=1582080;",
|
||||||
|
|
||||||
#if (ULONG_MAX > UINT_MAX) && !defined (NO_SQLITE_MMAP)
|
#if (ULONG_MAX > UINT_MAX) && !defined (NO_SQLITE_MMAP)
|
||||||
"PRAGMA mmap_size=4294967296;",
|
"PRAGMA mmap_size=17179869184;",
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
"BEGIN TRANSACTION;",
|
"BEGIN TRANSACTION;",
|
||||||
@@ -284,7 +284,7 @@ const char* HashNodeDBInit[] =
|
|||||||
"PRAGMA journal_size_limit=1582080;",
|
"PRAGMA journal_size_limit=1582080;",
|
||||||
|
|
||||||
#if (ULONG_MAX > UINT_MAX) && !defined (NO_SQLITE_MMAP)
|
#if (ULONG_MAX > UINT_MAX) && !defined (NO_SQLITE_MMAP)
|
||||||
"PRAGMA mmap_size=4294967296;",
|
"PRAGMA mmap_size=171798691840;",
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
"BEGIN TRANSACTION;",
|
"BEGIN TRANSACTION;",
|
||||||
|
|||||||
Reference in New Issue
Block a user