lint (which captures fdlimit error)
This commit is contained in:
parent
475fe22f4c
commit
06f48ecbbc
|
@ -60,6 +60,7 @@ enum User {
|
||||||
Id,
|
Id,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::enum_variant_names)]
|
||||||
#[derive(Iden)]
|
#[derive(Iden)]
|
||||||
enum Balance {
|
enum Balance {
|
||||||
Table,
|
Table,
|
||||||
|
|
|
@ -115,6 +115,7 @@ enum Referrer {
|
||||||
ReferralCode,
|
ReferralCode,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::enum_variant_names)]
|
||||||
#[derive(Iden)]
|
#[derive(Iden)]
|
||||||
enum Referee {
|
enum Referee {
|
||||||
Table,
|
Table,
|
||||||
|
|
|
@ -56,6 +56,7 @@ impl MigrationTrait for Migration {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::enum_variant_names)]
|
||||||
#[derive(Iden)]
|
#[derive(Iden)]
|
||||||
enum Balance {
|
enum Balance {
|
||||||
Table,
|
Table,
|
||||||
|
|
|
@ -39,7 +39,7 @@ impl MigrationTrait for Migration {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Learn more at https://docs.rs/sea-query#iden
|
#[allow(clippy::enum_variant_names)]
|
||||||
#[derive(Iden)]
|
#[derive(Iden)]
|
||||||
enum Referee {
|
enum Referee {
|
||||||
Table,
|
Table,
|
||||||
|
|
|
@ -8,7 +8,7 @@ use web3_proxy::prelude::tokio;
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> anyhow::Result<()> {
|
async fn main() -> anyhow::Result<()> {
|
||||||
// install global collector configured based on RUST_LOG env var.
|
// install global collector configured based on RUST_LOG env var.
|
||||||
fdlimit::raise_fd_limit();
|
fdlimit::raise_fd_limit()?;
|
||||||
|
|
||||||
// erigon
|
// erigon
|
||||||
let url = "ws://10.11.12.16:8548";
|
let url = "ws://10.11.12.16:8548";
|
||||||
|
|
Loading…
Reference in New Issue