Reword description of grace

Now Zaqar uses "claim expiration time > current message TTL"
to judge whether to extend message ttl or not.
The explanation of grace "If a claimed message would normally
live longer than the grace period, its expiration is not adjusted."
is not very clear to users.

So we reword the description of grace to "If a claimed message
would normally live longer than the claim's live period,
its expiration is not adjusted."

Change-Id: Ib9b042e99116fb4c4656696d413a778e4f07f4c6
Closes-Bug: #1632629
This commit is contained in:
wanghao 2016-10-12 17:23:35 +08:00 committed by Fei Long Wang
parent 0af1fe3e0b
commit 160f958ae3
2 changed files with 3 additions and 3 deletions

View File

@ -43,8 +43,8 @@ You must include a value for this attribute in your request. To deal with
workers that have stopped responding (for up to 1209600 seconds or 14 days,
including claim lifetime), the server extends the lifetime of claimed messages
to be at least as long as the lifetime of the claim itself, plus the specified
grace period. If a claimed message would normally live longer than the grace
period, its expiration is not adjusted.
grace period. If a claimed message would normally live longer than the claim's
live period, its expiration is not adjusted.

View File

@ -139,7 +139,7 @@ claim_grace:
including claim lifetime), the server extends the lifetime of claimed
messages to be at least as long as the lifetime of the claim itself, plus
the specified grace period. If a claimed message would normally live longer
than the grace period, its expiration is not adjusted.
than the claim's live period, its expiration is not adjusted.
subscriber:
type: string