Expand description
Utilities used in various CLI applications
Functionsยง
- init_
logger - Initialize logger with typical settings
- raise_
fd_ limit - Raise soft file descriptor limit to the hard limit, if possible
- set_
exit_ on_ panic - Install a panic handler which exits on panics, rather than unwinding. Unwinding can hang the tokio runtime waiting for stuck tasks or threads.
- shutdown_
signal - Create a future that waits for
SIGINTorSIGTERMto be sent to the process