Skip to content

Commit fc761d3

Browse files
committed
Add core configuration support for BUCKETLIST_DB_MEMORY_FOR_CACHING
1 parent 385ac5a commit fc761d3

19 files changed

+68
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
BUCKETLIST_DB_MEMORY_FOR_CACHING = 3000
2+
3+
[[HOME_DOMAINS]]
4+
HOME_DOMAIN="testnet.stellar.org"
5+
QUALITY="MEDIUM"
6+
7+
[[VALIDATORS]]
8+
NAME="sdf_testnet_1"
9+
HOME_DOMAIN="testnet.stellar.org"
10+
PUBLIC_KEY="GDKXE2OZMJIPOSLNA6N6F2BVCI3O777I2OOC4BV7VOYUEHYX7RTRYA7Y"
11+
ADDRESS="localhost:123"
12+

ingest/ledgerbackend/testdata/expected-bucketlistdb-core.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Generated file, do not edit
22
BUCKETLIST_DB_INDEX_CUTOFF = 20
33
BUCKETLIST_DB_INDEX_PAGE_SIZE_EXPONENT = 15
4+
BUCKETLIST_DB_MEMORY_FOR_CACHING = 0
45
DATABASE = "sqlite3://stellar.db"
56
DEPRECATED_SQL_LEDGER_STATE = false
67
FAILURE_SAFETY = -1

ingest/ledgerbackend/testdata/expected-default-bucketlistdb-core.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Generated file, do not edit
22
BUCKETLIST_DB_INDEX_PAGE_SIZE_EXPONENT = 12
3+
BUCKETLIST_DB_MEMORY_FOR_CACHING = 0
34
DATABASE = "sqlite3://stellar.db"
45
DEPRECATED_SQL_LEDGER_STATE = false
56
FAILURE_SAFETY = -1

ingest/ledgerbackend/testdata/expected-in-mem-core.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Generated file, do not edit
2+
BUCKETLIST_DB_MEMORY_FOR_CACHING = 0
23
DEPRECATED_SQL_LEDGER_STATE = true
34
FAILURE_SAFETY = -1
45
HTTP_PORT = 11626

ingest/ledgerbackend/testdata/expected-offline-core.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Generated file, do not edit
22
BUCKETLIST_DB_INDEX_PAGE_SIZE_EXPONENT = 12
3+
BUCKETLIST_DB_MEMORY_FOR_CACHING = 0
34
DATABASE = "sqlite3://stellar.db"
45
DEPRECATED_SQL_LEDGER_STATE = false
56
FAILURE_SAFETY = 0

ingest/ledgerbackend/testdata/expected-offline-enforce-diag-events-and-metav1.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Generated file, do not edit
2+
BUCKETLIST_DB_MEMORY_FOR_CACHING = 0
23
DEPRECATED_SQL_LEDGER_STATE = true
34
EMIT_SOROBAN_TRANSACTION_META_EXT_V1 = true
45
ENABLE_DIAGNOSTICS_FOR_TX_SUBMISSION = true

ingest/ledgerbackend/testdata/expected-offline-enforce-disabled-diagnostic-events.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Generated file, do not edit
2+
BUCKETLIST_DB_MEMORY_FOR_CACHING = 0
23
DEPRECATED_SQL_LEDGER_STATE = true
34
FAILURE_SAFETY = 0
45
HTTP_PORT = 0

ingest/ledgerbackend/testdata/expected-offline-with-appendix-core.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Generated file, do not edit
2+
BUCKETLIST_DB_MEMORY_FOR_CACHING = 0
23
DEPRECATED_SQL_LEDGER_STATE = true
34
FAILURE_SAFETY = 0
45
HTTP_PORT = 0

ingest/ledgerbackend/testdata/expected-offline-with-extra-fields.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Generated file, do not edit
2+
BUCKETLIST_DB_MEMORY_FOR_CACHING = 0
23
DEPRECATED_SQL_LEDGER_STATE = true
34
FAILURE_SAFETY = 0
45
HTTP_PORT = 0

ingest/ledgerbackend/testdata/expected-offline-with-no-peer-port.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Generated file, do not edit
2+
BUCKETLIST_DB_MEMORY_FOR_CACHING = 0
23
DEPRECATED_SQL_LEDGER_STATE = true
34
FAILURE_SAFETY = 0
45
HTTP_PORT = 0

0 commit comments

Comments
 (0)