From 13d6756901e5e153484d82ca1ee166f2e832f3b4 Mon Sep 17 00:00:00 2001 From: Ivan Kozlovic Date: Wed, 18 May 2016 13:14:10 -0600 Subject: [PATCH] Fix command line parameters for clustering doc [ci skip] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c8c74fd7..e6d4519c 100644 --- a/README.md +++ b/README.md @@ -160,7 +160,7 @@ max_pending_size: 10000000 Setting up a full mesh cluster is really easy. When running NATS Servers in different hosts, the command line parameters for all servers could be as simple as: ``` -gnatsd -cluster nats://$HOSTNAME:$NATS_CLUSTER_PORT -routes://$NATS_SEED_HOST:$NATS_CLUSTER_PORT +gnatsd -cluster nats://$HOSTNAME:$NATS_CLUSTER_PORT -routes nats://$NATS_SEED_HOST:$NATS_CLUSTER_PORT ``` Even on the host where the "seed" is running, the above command would work. The server would detect an attempt to connect to itself and ignore that. In other words, the same command line could be deployed in several hosts and the full mesh will properly form.