Skip to content

Commit 68b5ad3

Browse files
author
Stan Drozd
committed
pyth-wormhole-attester: v1.3.1, use different manual buckets
1 parent 3b5c159 commit 68b5ad3

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

solana/pyth2wormhole/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

solana/pyth2wormhole/client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyth2wormhole-client"
3-
version = "1.3.0"
3+
version = "1.3.1"
44
edition = "2018"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

solana/pyth2wormhole/client/src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ lazy_static! {
104104
static ref SOL_RPC_TX_PROCESSING_HIST: Histogram = register_histogram!(
105105
"sol_rpc_tx_processing",
106106
"How long in milliseconds it takes to send a transaction to the Solana RPC",
107-
prometheus::exponential_buckets(0.016, 2.0, 13) // 0.016s, 0.032s, 0.064s, [...], 65.536s
108-
.expect("FATAL: Could not instantiate buckets for SOL_RPC_TX_PROCESSING_HIST")
107+
vec![0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0, 2.5, 3.0, 3.5, 4.0, 5.0, 10.0, 20.0, 30.0, 60.0] // Buckets, 1.0 = 1 second
109108
)
110109
.expect("FATAL: Could not instantiate SOL_RPC_TX_PROCESSING_HIST");
111110
}

0 commit comments

Comments
 (0)