Skip to content

Commit 2886003

Browse files
committed
Raise receipt limit temporarily
1 parent ff732b1 commit 2886003

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Cargo.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
[package]
22
edition = "2021"
33
name = "graph-gateway"
4-
version = "0.2.0"
4+
version = "0.2.1"
55

66
[profile.release]
77
lto = "thin"
88

99
[dependencies]
10-
actix-cors = "0.6.0-beta.3"
11-
actix-web = "4.0.0-beta.11"
10+
actix-cors = "=0.6.0-beta.4"
11+
actix-http = "=3.0.0-beta.14"
12+
actix-web = "=4.0.0-beta.13"
1213
async-trait = "0.1"
1314
bs58 = "0.4"
1415
cost-model = {git = "ssh://git@github.com/graphprotocol/agora.git", rev = "48bf329"}
@@ -28,7 +29,7 @@ postgres-openssl = "0.5"
2829
primitive-types = "0.8"
2930
prometheus = "0.13"
3031
rand = {version = "0.8", features = ["small_rng"]}
31-
receipts = {git = "ssh://git@github.com/edgeandnode/receipts.git", rev = "ec03f80"}
32+
receipts = {git = "ssh://git@github.com/edgeandnode/receipts.git", rev = "b01dd7b", features = ["use-neon"]}
3233
reqwest = {version = "0.11", features = ["json"]}
3334
secp256k1 = "0.20"
3435
serde = "1.0"

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ async fn main() {
207207
)
208208
.service(
209209
web::resource("/collect-receipts")
210-
.app_data(web::PayloadConfig::new(16_000_000))
210+
.app_data(web::PayloadConfig::new(25_000_000))
211211
.app_data(web::Data::new(signer_key.clone()))
212212
.route(web::post().to(handle_collect_receipts)),
213213
);

0 commit comments

Comments
 (0)