kad: Include a timeout for QueryExecutor::send_message
#231
Labels
enhancement
New feature or request
QueryExecutor::send_message
#231
Sending a plain message using the query executor does not take into account timeouts:
litep2p/src/protocol/libp2p/kademlia/executor.rs
Lines 136 to 139 in e3a22d5
The other methods of the query executor bound the total time to the
READ_TIMEOUT
constant:litep2p/src/protocol/libp2p/kademlia/executor.rs
Lines 161 to 166 in e3a22d5
Introduce a new variable
WRITE_TIMEOUT
and ensure writes are timedout as well.The text was updated successfully, but these errors were encountered: