@@ -4074,7 +4074,7 @@ impl PeerNetwork {
40744074 self . do_network_neighbor_walk ( ) ?;
40754075
40764076 // download attachments
4077- self . do_attachment_downloads ( chainstate, dns_client_opt, network_result) ?;
4077+ // self.do_attachment_downloads(chainstate, dns_client_opt, network_result)?;
40784078
40794079 // remove timed-out requests from other threads
40804080 for ( _, convo) in self . peers . iter_mut ( ) {
@@ -4240,17 +4240,17 @@ impl PeerNetwork {
42404240 // This operation needs to be performed before any early return:
42414241 // Events are being parsed and dispatched here once and we want to
42424242 // enqueue them.
4243- match PeerNetwork :: with_attachments_downloader ( self , |network, attachments_downloader| {
4244- let mut known_attachments = attachments_downloader
4245- . enqueue_new_attachments ( attachment_requests, & mut network. atlasdb ) ?;
4246- network_result. attachments . append ( & mut known_attachments) ;
4247- Ok ( ( ) )
4248- } ) {
4249- Ok ( _) => { }
4250- Err ( e) => {
4251- warn ! ( "Atlas: updating attachment inventory failed {}" , e) ;
4252- }
4253- }
4243+ // match PeerNetwork::with_attachments_downloader(self, |network, attachments_downloader| {
4244+ // let mut known_attachments = attachments_downloader
4245+ // .enqueue_new_attachments(attachment_requests, &mut network.atlasdb)?;
4246+ // network_result.attachments.append(&mut known_attachments);
4247+ // Ok(())
4248+ // }) {
4249+ // Ok(_) => {}
4250+ // Err(e) => {
4251+ // warn!("Atlas: updating attachment inventory failed {}", e);
4252+ // }
4253+ // }
42544254
42554255 PeerNetwork :: with_network_state ( self , |ref mut network, ref mut network_state| {
42564256 let http_stacks_msgs = network. http . run (
0 commit comments