1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00

Update pingpong.md

This commit is contained in:
Ginger Collison 2019-10-04 10:30:48 -05:00 committed by GitHub
parent c349004ad5
commit 6ed8d23fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,16 +2,7 @@
The client and server use a simple PING/PONG protocol to check that they are both still connected. The client will ping the server on a regular, configured interval so that the server usually doesn't have to initiate the PING/PONG interaction.
<div class="graphviz"><code data-viz="dot">
digraph g {
rankdir=LR
client [shape=box, style="rounded", label="NATS Client"];
natsserver [shape=circle, fixedsize="true", width="1.0", height="1.0", label="nats-server"];
client -> natsserver [label="PING"];
natsserver -> client [label="PONG"];
}
</code></div>
![Ping Pong](/assets/images/pingpong.svg)
## Set the Ping Interval