Removing noise
This commit is contained in:
parent
46b6921ddf
commit
6754ba77b3
1 changed files with 5 additions and 4 deletions
|
@ -109,13 +109,14 @@ void* ipfs_bitswap_engine_peer_request_processor_start(void* ctx) {
|
||||||
} else {
|
} else {
|
||||||
if (current_peer_entry->is_local) {
|
if (current_peer_entry->is_local) {
|
||||||
//libp2p_logger_debug("bitswap_engine", "Local peer %s. Skipping.\n", current_peer_entry->id);
|
//libp2p_logger_debug("bitswap_engine", "Local peer %s. Skipping.\n", current_peer_entry->id);
|
||||||
} else
|
} else {
|
||||||
libp2p_logger_debug("bitswap_engine", "We are not connected to this peer %s.\n", current_peer_entry->id);
|
//libp2p_logger_debug("bitswap_engine", "We are not connected to this peer %s.\n", current_peer_entry->id);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// attempt to get queue and process
|
// attempt to get queue and process
|
||||||
struct PeerRequestEntry* entry = ipfs_bitswap_peer_request_queue_find_entry(context->peerRequestQueue, current_peer_entry);
|
struct PeerRequestEntry* entry = ipfs_bitswap_peer_request_queue_find_entry(context->peerRequestQueue, current_peer_entry);
|
||||||
if (entry != NULL) {
|
if (entry != NULL) {
|
||||||
libp2p_logger_debug("bitswap_engine", "Processing queue for peer %s.\n", current_peer_entry->id);
|
//libp2p_logger_debug("bitswap_engine", "Processing queue for peer %s.\n", current_peer_entry->id);
|
||||||
// we have a queue. Do some queue processing
|
// we have a queue. Do some queue processing
|
||||||
struct PeerRequest* item = entry->current;
|
struct PeerRequest* item = entry->current;
|
||||||
if (item != NULL) {
|
if (item != NULL) {
|
||||||
|
@ -134,7 +135,7 @@ void* ipfs_bitswap_engine_peer_request_processor_start(void* ctx) {
|
||||||
did_some_processing = 0;
|
did_some_processing = 0;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
libp2p_logger_debug("bitswap_engine", "Moving on to the next peer.\n");
|
//libp2p_logger_debug("bitswap_engine", "Moving on to the next peer.\n");
|
||||||
current = current->next;
|
current = current->next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue