Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sisuresh committed Aug 29, 2023
1 parent 245d0ef commit 16d4645
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/main/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1478,8 +1478,12 @@ Config::processConfig(std::shared_ptr<cpptoml::table> t)
{
TESTING_SOROBAN_HIGH_LIMIT_OVERRIDE = readBool(item);

LOG_WARNING(DEFAULT_LOG, "Overriding Soroban limits with "
"TESTING_SOROBAN_HIGH_LIMIT_OVERRIDE");
if (TESTING_SOROBAN_HIGH_LIMIT_OVERRIDE)
{
LOG_WARNING(DEFAULT_LOG,
"Overriding Soroban limits with "
"TESTING_SOROBAN_HIGH_LIMIT_OVERRIDE");
}
}
#endif
else if (item.first == "ARTIFICIALLY_SLEEP_MAIN_THREAD_FOR_TESTING")
Expand Down
2 changes: 1 addition & 1 deletion src/main/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ class Config : public std::enable_shared_from_this<Config>
// for testing.
uint32_t TESTING_MINIMUM_PERSISTENT_ENTRY_LIFETIME;

//TODO: add comment
// Increase all initial max limits to higher values for testing
bool TESTING_SOROBAN_HIGH_LIMIT_OVERRIDE;
#endif

Expand Down

0 comments on commit 16d4645

Please sign in to comment.