From f32579159063300089b24cca64cddffb3399bf7f Mon Sep 17 00:00:00 2001 From: Ryan Breen Date: Thu, 12 Feb 2015 15:15:53 -0500 Subject: [PATCH] More cleanup for docs/agent/http/session. --- website/source/docs/agent/http/session.html.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/source/docs/agent/http/session.html.markdown b/website/source/docs/agent/http/session.html.markdown index 02745824a0..fcd55f648b 100644 --- a/website/source/docs/agent/http/session.html.markdown +++ b/website/source/docs/agent/http/session.html.markdown @@ -47,7 +47,7 @@ By default, the agent's local datacenter is used; another datacenter can be specified using the "?dc=" query parameter. However, it is not recommended to use cross-datacenter sessions. -`LockDelay` field can be specified as a duration string using a "s" suffix for +`LockDelay` can be specified as a duration string using a "s" suffix for seconds. The default is 15s. This value can also be a numeric value. Small values are treated as seconds while larger values are assumed to be nanoseconds. @@ -63,7 +63,7 @@ that, if you override this list, you include the default "serfHealthCheck". `Behavior` can be set to either `release` or `delete`. This controls the behavior when a session is invalidated. By default, this is `release`, causing any locks that are held to be released. Changing this to `delete` -causes any locks that are held to be deleted. `delete is useful for creating ephemeral +causes any locks that are held to be deleted. `delete` is useful for creating ephemeral key/value entries. The `TTL` field is a duration string, and like `LockDelay` it can use "s" as @@ -177,7 +177,7 @@ query parameter can be used to specify the datacenter. The session being renewed must be provided on the path. -The return code is 200 on success and a JSON body like this: +The return code is 200 on success. The response JSON body looks like this: ```javascript [