Documentation ¶
Overview ¶
Package fdlimit handles file descriptors based on the operating system.
In Klaytn, `levelDB` database in the `database` package is using this package to get current allowance of file descriptors for this process and to raise it as it requires. Because the maximum allowance is different between operating systems, it can be limited by the operating system on which Klaytn runs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Current ¶
Current retrieves the number of file descriptors allowed to be opened by this process.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.