Skip to content

Commit

Permalink
Revert "modify check waitingForPingResponse with volatile (apache#12615
Browse files Browse the repository at this point in the history
…)"

This reverts commit 62e2547.
  • Loading branch information
michaeljmarshall committed Feb 6, 2023
1 parent 0f72a82 commit f886413
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public abstract class PulsarHandler extends PulsarDecoder {
protected SocketAddress remoteAddress;
private int remoteEndpointProtocolVersion = ProtocolVersion.v0.getValue();
private final long keepAliveIntervalSeconds;
private volatile boolean waitingForPingResponse = false;
private boolean waitingForPingResponse = false;
private ScheduledFuture<?> keepAliveTask;

public int getRemoteEndpointProtocolVersion() {
Expand Down

0 comments on commit f886413

Please sign in to comment.