Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
neard: don't fiddle with file limits unnecessarily (near#11384)
This causes a few problems: 1. rlimit is a privileged call requiring certain capabilities, which the user might not have, making them unable to run the node even *if* their current limits are high enough; 2. historically operators have attempted to set a higher limit but neard would override it to a smaller one and still run into problems that the operators were attempting to workaround by setting limit higher in the first place; 3. arguably this is not the responsibility of neard to set up limits like these for itself, and systemd gives plenty of good tools to fiddle with these...
- Loading branch information