mirror of
https://github.com/0xfnzero/solana-streamer.git
synced 2026-08-15 09:58:05 +00:00
Release v1.5.5 parser SDK sync
This commit is contained in:
@@ -18,9 +18,11 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
|
||||
println!("🚀 Quick Test - Subscribing to PumpFun events...");
|
||||
|
||||
let mut config = ClientConfig::default();
|
||||
// Metrics add overhead; enable explicitly with STREAMER_ENABLE_METRICS=1.
|
||||
config.enable_metrics = std::env::var("STREAMER_ENABLE_METRICS").as_deref() == Ok("1");
|
||||
let config = ClientConfig {
|
||||
enable_metrics: std::env::var("STREAMER_ENABLE_METRICS").as_deref() == Ok("1"),
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
let grpc = YellowstoneGrpc::new_with_config(
|
||||
std::env::var("GRPC_ENDPOINT")
|
||||
|
||||
Reference in New Issue
Block a user