Skip to content

Commit

Permalink
fix: change default network timeout from ZERO to MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
Ddystopia committed Feb 27, 2025
1 parent 3ece4ba commit 3c11007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rumqttd/src/link/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ impl<P: Protocol> Network<P> {
write: BytesMut::with_capacity(10 * 1024),
max_incoming_size,
max_connection_buffer_len,
keepalive: Duration::ZERO,
keepalive: Duration::MAX,
protocol,
}
}
Expand Down

0 comments on commit 3c11007

Please sign in to comment.