aturi indexer with listRecords and countRecords endpoints
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

consumer should exit by breaking from outer loop

dawn 4b9431de 2e3c08e1

+2 -2
+2 -2
src/main.rs
··· 122 122 ) { 123 123 let tap_url = "http://localhost:2480"; 124 124 125 - loop { 125 + 'outer: loop { 126 126 info!("connecting to tap at {}", tap_url); 127 127 match TapClient::new(tap_url) { 128 128 Ok(client) => { ··· 173 173 } 174 174 } 175 175 } 176 - _ = closed.cancelled() => break, 176 + _ = closed.cancelled() => break 'outer, 177 177 } 178 178 } 179 179 }