From 160f958ae399a934603781d1ff77050d270a3499 Mon Sep 17 00:00:00 2001 From: wanghao Date: Wed, 12 Oct 2016 17:23:35 +0800 Subject: [PATCH] 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 --- api-ref/source/claims.inc | 4 ++-- api-ref/source/parameters.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api-ref/source/claims.inc b/api-ref/source/claims.inc index c78e18922..767601c61 100644 --- a/api-ref/source/claims.inc +++ b/api-ref/source/claims.inc @@ -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. diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index 5760cb687..43df7a387 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -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