File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
stackslib/src/net/neighbors Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -109,16 +109,22 @@ impl NeighborRPC {
109
109
Ok ( Some ( response) ) => response,
110
110
Ok ( None ) => {
111
111
// keep trying
112
+ debug ! ( "Still waiting for next reply from {}" , & naddr) ;
112
113
inflight. insert ( naddr, ( event_id, request_opt) ) ;
113
114
continue ;
114
115
}
115
116
Err ( NetError :: WaitingForDNS ) => {
116
117
// keep trying
118
+ debug ! (
119
+ "Could not yet poll next reply from {}: waiting for DNS" ,
120
+ & naddr
121
+ ) ;
117
122
inflight. insert ( naddr, ( event_id, request_opt) ) ;
118
123
continue ;
119
124
}
120
125
Err ( _e) => {
121
126
// declare this neighbor as dead by default
127
+ debug ! ( "Failed to poll next reply from {}: {:?}" , & naddr, & _e) ;
122
128
dead. push ( naddr) ;
123
129
continue ;
124
130
}
@@ -201,6 +207,10 @@ impl NeighborRPC {
201
207
} )
202
208
} ) ?;
203
209
210
+ debug ! (
211
+ "Send request to {} on event {}: {:?}" ,
212
+ & naddr, event_id, & request
213
+ ) ;
204
214
self . state . insert ( naddr, ( event_id, Some ( request) ) ) ;
205
215
Ok ( ( ) )
206
216
}
You can’t perform that action at this time.
0 commit comments