Skip to content

Commit db55f18

Browse files
authored
Remove limit on QUERY_SNAPSHOT_LEDGERS (#4683)
### What Remove the max value limit on QUERY_SNAPSHOT_LEDGERS configuration parameter. ### Why Allows operators to configure more than 10 ledgers for query snapshots if needed. 10 ledgers is arbitrarily low and larger numbers are usable. Close #4682
2 parents 18bf862 + 2a74fe6 commit db55f18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/Config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,7 @@ Config::processConfig(std::shared_ptr<cpptoml::table> t)
13841384
[&]() { COMPILATION_THREADS = readInt<int>(item, 2, 1000); }},
13851385
{"QUERY_SNAPSHOT_LEDGERS",
13861386
[&]() {
1387-
QUERY_SNAPSHOT_LEDGERS = readInt<uint32_t>(item, 0, 10);
1387+
QUERY_SNAPSHOT_LEDGERS = readInt<uint32_t>(item, 0);
13881388
}},
13891389
{"MAX_CONCURRENT_SUBPROCESSES",
13901390
[&]() {

0 commit comments

Comments
 (0)