lint (which captures fdlimit error)

This commit is contained in:
Bryan Stitt 2023-11-09 18:02:29 -08:00
parent 475fe22f4c
commit 06f48ecbbc
5 changed files with 5 additions and 2 deletions

View File

@ -60,6 +60,7 @@ enum User {
Id,
}
#[allow(clippy::enum_variant_names)]
#[derive(Iden)]
enum Balance {
Table,

View File

@ -115,6 +115,7 @@ enum Referrer {
ReferralCode,
}
#[allow(clippy::enum_variant_names)]
#[derive(Iden)]
enum Referee {
Table,

View File

@ -56,6 +56,7 @@ impl MigrationTrait for Migration {
}
}
#[allow(clippy::enum_variant_names)]
#[derive(Iden)]
enum Balance {
Table,

View File

@ -39,7 +39,7 @@ impl MigrationTrait for Migration {
}
}
/// Learn more at https://docs.rs/sea-query#iden
#[allow(clippy::enum_variant_names)]
#[derive(Iden)]
enum Referee {
Table,

View File

@ -8,7 +8,7 @@ use web3_proxy::prelude::tokio;
#[tokio::main]
async fn main() -> anyhow::Result<()> {
// install global collector configured based on RUST_LOG env var.
fdlimit::raise_fd_limit();
fdlimit::raise_fd_limit()?;
// erigon
let url = "ws://10.11.12.16:8548";