mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 11:35:53 +00:00
Raise the file descriptor limit.
This commit is contained in:
@@ -15,7 +15,7 @@ void setupServer ()
|
|||||||
if (rl.rlim_cur != rl.rlim_max)
|
if (rl.rlim_cur != rl.rlim_max)
|
||||||
{
|
{
|
||||||
rl.rlim_cur = rl.rlim_max;
|
rl.rlim_cur = rl.rlim_max;
|
||||||
setrlimit(RLIMIT_NOFILE, &r1);
|
setrlimit(RLIMIT_NOFILE, &rl);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user