We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 071338e commit 08d2172Copy full SHA for 08d2172
src/com/rabbitmq/client/impl/HeartbeatSender.java
@@ -75,8 +75,7 @@ public void signalActivity() {
75
public void setHeartbeat(int heartbeatSeconds) {
76
synchronized(this.monitor) {
77
if(this.shutdown) {
78
- throw new IllegalStateException("HeartbeatSender is shutdown." +
79
- " Cannot set new interval.");
+ return;
80
}
81
82
// cancel any existing heartbeat task
0 commit comments