mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Standalone mode uses temp DB files by default (RIPD-1129):
* If a [database_path] is configured, it will always be used, and tables will be upgraded on startup.
This commit is contained in:
@@ -548,7 +548,7 @@ OverlayImpl::onPrepare()
|
||||
// if it's a private peer or we are running as standalone
|
||||
// automatic connections would defeat the purpose.
|
||||
config.autoConnect =
|
||||
!app_.config().RUN_STANDALONE &&
|
||||
!app_.config().standalone() &&
|
||||
!app_.config().PEER_PRIVATE;
|
||||
config.listeningPort = port;
|
||||
config.features = "";
|
||||
@@ -591,7 +591,7 @@ OverlayImpl::onPrepare()
|
||||
});
|
||||
|
||||
// Add the ips_fixed from the rippled.cfg file
|
||||
if (! app_.config().RUN_STANDALONE && !app_.config().IPS_FIXED.empty ())
|
||||
if (! app_.config().standalone() && !app_.config().IPS_FIXED.empty ())
|
||||
{
|
||||
m_resolver.resolve (app_.config().IPS_FIXED,
|
||||
[this](
|
||||
|
||||
Reference in New Issue
Block a user