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-06-07 10:46:22 -05:00 committed by GitHub
parent 41be48b5f6
commit 535a075a9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,10 +6,10 @@ The client and server use a simple PING/PONG protocol to check that they are bot
digraph g {
rankdir=LR
client [shape=box, style="rounded", label="NATS Client"];
gnatsd [shape=circle, fixedsize="true", width="1.0", height="1.0", label="nats-server"];
natsserver [shape=circle, fixedsize="true", width="1.0", height="1.0", label="nats-server"];
client -> gnatsd [label="PING"];
gnatsd -> client [label="PONG"];
client -> natsserver [label="PING"];
natsserver -> client [label="PONG"];
}
</code></div>
@ -25,4 +25,4 @@ The PING/PONG interaction is also used by most of the clients as a way to flush
For example, to set the maximum number of outgoing pings to 5:
!INCLUDE "../../_examples/ping_5.html"
!INCLUDE "../../_examples/ping_5.html"