Skip to content

Commit

Permalink
add a timeout send for data service.
Browse files Browse the repository at this point in the history
  • Loading branch information
larry-aptos committed May 17, 2023
1 parent 286bf7b commit 957b496
Show file tree
Hide file tree
Showing 6 changed files with 161 additions and 113 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/aptos-protos/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aptos-protos"
version = "0.2.0"
version = "0.2.1"
authors = ["Aptos Labs <[email protected]>"]
description = "Aptos Protobuf Definitions"
repository = "https://github.com/aptos-labs/aptos-core"
Expand Down
4 changes: 4 additions & 0 deletions crates/aptos-protos/proto/aptos/indexer/v1/raw_data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ message GetTransactionsRequest {
// Optional; number of transactions to return in current stream.
// If not present, return an infinite stream of transactions.
optional uint64 transactions_count = 2 [jstype = JS_STRING];

// Optional; number of transactions in each `TransactionsResponse` for current stream.
// If not present, default to 1000. If larger than 1000, request will be rejected.
optional uint64 batch_size = 3;
}

// TransactionsResponse is a batch of transactions.
Expand Down
Loading

0 comments on commit 957b496

Please sign in to comment.