From 3c9079228d43d261e2f3a5159b9b7a6e7d1c49e3 Mon Sep 17 00:00:00 2001 From: Ben Smith Date: Thu, 30 Nov 2023 11:31:27 +0100 Subject: [PATCH] log NODE_URL domain --- kubernetes/config/configmap.yaml | 4 ++-- src/config.rs | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/kubernetes/config/configmap.yaml b/kubernetes/config/configmap.yaml index cc5ba2b..336b3db 100644 --- a/kubernetes/config/configmap.yaml +++ b/kubernetes/config/configmap.yaml @@ -7,8 +7,8 @@ data: arak.toml: | [indexer] - page-size = 500 - poll-interval = 10 + page-size = 200 + poll-interval = 1 ## ERC721: https://eips.ethereum.org/EIPS/eip-721#specification [[event]] diff --git a/src/config.rs b/src/config.rs index b2fdf09..42e920b 100644 --- a/src/config.rs +++ b/src/config.rs @@ -90,7 +90,10 @@ fn manual_override( let mut toml_values = toml_string.parse::()?; // Manual overrides from env vars. if let Some(ethrpc) = node_url { - tracing::info!("using env NODE_URL"); + tracing::info!( + "using env NODE_URL with domain {:?}", + Url::parse(ðrpc).expect("invalid ethrpc").domain() + ); toml_values.insert("ethrpc".to_string(), Value::String(ethrpc)); } if let Some(connection) = db_url {