mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 05:51:02 +00:00
Do not panic if the fdlimit call to increase the file descriptor limit fails (#2155)
# Description Sometimes changing file descriptor limits is not allowed, but there is no need to crash the node if/when this happens. Since `fdlimit`'s author decided to use panics instead of returning `Result`, we need to catch it. # Checklist - [x] My PR includes a detailed description as outlined in the "Description" section above - [ ] My PR follows the [labeling requirements](CONTRIBUTING.md#Process) of this project (at minimum one label for `T` required) - [ ] I have made corresponding changes to the documentation (if applicable) - [ ] I have added tests that prove my fix is effective or that my feature works (if applicable) --------- Co-authored-by: Koute <koute@users.noreply.github.com>
This commit is contained in:
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
array-bytes = "6.1"
|
||||
chrono = "0.4.27"
|
||||
clap = { version = "4.4.6", features = ["derive", "string", "wrap_help"] }
|
||||
fdlimit = "0.2.1"
|
||||
fdlimit = "0.3.0"
|
||||
futures = "0.3.21"
|
||||
itertools = "0.10.3"
|
||||
libp2p-identity = { version = "0.1.3", features = ["peerid", "ed25519"]}
|
||||
|
||||
Reference in New Issue
Block a user