Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: achilleasa/dart_amqp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: fd85301e9cb7234eaffb4723b45b93415bfa11de
Choose a base ref
..
head repository: achilleasa/dart_amqp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9e52ca9217fe93ab1da3108b03bc0aefafc9ab95
Choose a head ref
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/src/client/impl/client_impl.dart
3 changes: 1 addition & 2 deletions lib/src/client/impl/client_impl.dart
Original file line number Diff line number Diff line change
@@ -148,8 +148,7 @@ class _ClientImpl implements Client {
Duration missInterval =
tuningSettings.heartbeatPeriod * tuningSettings.maxMissedHeartbeats;
_heartbeatRecvTimer?.cancel();
_heartbeatRecvTimer =
RestartableTimer(tuningSettings.heartbeatPeriod, () {
_heartbeatRecvTimer = RestartableTimer(missInterval, () {
// Set the timer to null to avoid accidentally resetting it while
// shutting down.
_heartbeatRecvTimer = null;