File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -238,13 +238,17 @@ async def request_nodes(self, node_keys: Iterable[Hash32]) -> None:
238
238
peer = await self .get_peer_for_request (not_yet_requested )
239
239
except NoIdlePeers :
240
240
self .logger .debug (
241
- "No idle peers have any of the trie nodes we want, sleeping a bit" )
241
+ "No idle peers have any of the %d trie nodes we want, sleeping a bit" ,
242
+ len (not_yet_requested ),
243
+ )
242
244
await self .sleep (0.2 )
243
245
continue
244
246
except NoEligiblePeers :
245
247
self .request_tracker .missing [time .time ()] = list (not_yet_requested )
246
248
self .logger .debug (
247
- "No peers have any of the trie nodes in this batch, will retry later" )
249
+ "No peers have any of the %d trie nodes in this batch, will retry later" ,
250
+ len (not_yet_requested ),
251
+ )
248
252
# TODO: disconnect a peer if the pool is full
249
253
return
250
254
You can’t perform that action at this time.
0 commit comments