mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
Change free space threshold to 512MB.
This commit is contained in:
@@ -288,9 +288,9 @@ void Application::sweep()
|
|||||||
{
|
{
|
||||||
|
|
||||||
boost::filesystem::space_info space = boost::filesystem::space(theConfig.DATA_DIR);
|
boost::filesystem::space_info space = boost::filesystem::space(theConfig.DATA_DIR);
|
||||||
if (space.available < (128 * 1024 * 1024))
|
if (space.available < (512 * 1024 * 1024))
|
||||||
{
|
{
|
||||||
cLog(lsFATAL) << "Remaining free disk space is less than 128MB";
|
cLog(lsFATAL) << "Remaining free disk space is less than 512MB";
|
||||||
theApp->stop();
|
theApp->stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user