From 9e167b8289a02f64a0007fc00b98718de05a28eb Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Fri, 13 May 2022 17:58:31 +0000 Subject: [PATCH] hmmm --- TODO.md | 1 + web3-proxy/src/connections.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index 69215927..5c6db3d0 100644 --- a/TODO.md +++ b/TODO.md @@ -1,5 +1,6 @@ # Todo +- [ ] endpoint for health checks. if no synced servers, give a 502 error - [ ] some production configs are occassionally stuck waiting at 100% cpu - looks like its getting stuck on `futex(0x7fc15067b478, FUTEX_WAIT_PRIVATE, 1, NULL` - they stop processing new blocks. i'm guessing 2 blocks arrive at the same time, but i thought our locks would handle that diff --git a/web3-proxy/src/connections.rs b/web3-proxy/src/connections.rs index 5d02bc9a..7bdbee7d 100644 --- a/web3-proxy/src/connections.rs +++ b/web3-proxy/src/connections.rs @@ -273,7 +273,7 @@ impl Web3Connections { // TODO: hopefully nothing ends up in here twice. Greater+Equal might do that to us synced_connections.inner.push(rpc_index); - trace!("Now synced {:?}: {:?}", self, synced_connections.inner); + info!("Now synced {:?}: {:?}", self, synced_connections.inner); Ok(()) }