Skip to content

Commit

Permalink
log NODE_URL domain
Browse files Browse the repository at this point in the history
  • Loading branch information
bh2smith committed Nov 30, 2023
1 parent 1a0bb92 commit 3c90792
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions kubernetes/config/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down
5 changes: 4 additions & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ fn manual_override(
let mut toml_values = toml_string.parse::<Table>()?;
// 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(&ethrpc).expect("invalid ethrpc").domain()
);
toml_values.insert("ethrpc".to_string(), Value::String(ethrpc));
}
if let Some(connection) = db_url {
Expand Down

0 comments on commit 3c90792

Please sign in to comment.