Bump drone read timeout to 10s
The previous timeout of 3s was not generous enough occasionally
This commit is contained in:
parent
6d34a68e54
commit
3b33150cfb
|
@ -543,7 +543,7 @@ pub fn request_airdrop(
|
|||
) -> Result<Signature, Error> {
|
||||
// TODO: make this async tokio client
|
||||
let mut stream = TcpStream::connect(drone_addr)?;
|
||||
stream.set_read_timeout(Some(Duration::new(3, 0)))?;
|
||||
stream.set_read_timeout(Some(Duration::new(10, 0)))?;
|
||||
let req = DroneRequest::GetAirdrop {
|
||||
airdrop_request_amount: tokens,
|
||||
client_pubkey: *id,
|
||||
|
|
Loading…
Reference in New Issue