mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Inject Config:
* Use dependency injections instead * Remove deprecated fee interfaces
This commit is contained in:
committed by
Vinnie Falco
parent
c7b3153958
commit
fa796a2eb5
@@ -70,7 +70,7 @@ std::string StopSustain ()
|
||||
return "Terminating monitor";
|
||||
}
|
||||
|
||||
std::string DoSustain (std::string const& logFile)
|
||||
std::string DoSustain ()
|
||||
{
|
||||
pManager = getpid ();
|
||||
signal (SIGINT, stop_manager);
|
||||
@@ -111,8 +111,6 @@ std::string DoSustain (std::string const& logFile)
|
||||
|
||||
auto pc = std::to_string (pChild);
|
||||
rename ("core", ("core." + pc).c_str ());
|
||||
if (!logFile.empty()) // FIXME: logFile hasn't been set yet
|
||||
rename (logFile.c_str(), (logFile + "." + pc).c_str ());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -123,7 +121,7 @@ bool HaveSustain ()
|
||||
return false;
|
||||
}
|
||||
|
||||
std::string DoSustain (const std::string&)
|
||||
std::string DoSustain ()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user