reduce out of funds tier to match free config and bump to version 1
This commit is contained in:
parent
788ebff29f
commit
d2f0d45dd2
6
Cargo.lock
generated
6
Cargo.lock
generated
@ -1678,7 +1678,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "entities"
|
name = "entities"
|
||||||
version = "0.41.0"
|
version = "0.42.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ethers",
|
"ethers",
|
||||||
"sea-orm",
|
"sea-orm",
|
||||||
@ -3330,7 +3330,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "migration"
|
name = "migration"
|
||||||
version = "0.41.0"
|
version = "0.42.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"sea-orm",
|
"sea-orm",
|
||||||
@ -6982,7 +6982,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "web3_proxy"
|
name = "web3_proxy"
|
||||||
version = "0.41.0"
|
version = "1.42.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"arc-swap",
|
"arc-swap",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "entities"
|
name = "entities"
|
||||||
version = "0.41.0"
|
version = "0.42.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "migration"
|
name = "migration"
|
||||||
version = "0.41.0"
|
version = "0.42.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ impl MigrationTrait for Migration {
|
|||||||
(UserTier::MaxRequestsPerPeriod, Some("3000").into()),
|
(UserTier::MaxRequestsPerPeriod, Some("3000").into()),
|
||||||
(UserTier::MaxConcurrentRequests, Some("3").into()),
|
(UserTier::MaxConcurrentRequests, Some("3").into()),
|
||||||
])
|
])
|
||||||
.and_where(Expr::col((UserTier::Title).eq("Premium Out Of Funds")))
|
.and_where(Expr::col(UserTier::Title).eq("Premium Out Of Funds"))
|
||||||
.to_owned();
|
.to_owned();
|
||||||
|
|
||||||
manager.exec_stmt(update_out_of_funds_tier).await?;
|
manager.exec_stmt(update_out_of_funds_tier).await?;
|
||||||
@ -20,7 +20,7 @@ impl MigrationTrait for Migration {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> {
|
async fn down(&self, _manager: &SchemaManager) -> Result<(), DbErr> {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -28,7 +28,6 @@ impl MigrationTrait for Migration {
|
|||||||
#[derive(Iden)]
|
#[derive(Iden)]
|
||||||
enum UserTier {
|
enum UserTier {
|
||||||
Table,
|
Table,
|
||||||
Id,
|
|
||||||
Title,
|
Title,
|
||||||
MaxRequestsPerPeriod,
|
MaxRequestsPerPeriod,
|
||||||
MaxConcurrentRequests,
|
MaxConcurrentRequests,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "web3_proxy"
|
name = "web3_proxy"
|
||||||
version = "0.41.0"
|
version = "1.42.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
default-run = "web3_proxy_cli"
|
default-run = "web3_proxy_cli"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user