Method: Fog::Rackspace::Queues::Claim#grace
- Defined in:
- lib/fog/rackspace/models/queues/claim.rb
#grace ⇒ Integer
Returns The grace attribute specifies the message grace period in seconds. The value of grace value must be between 60 and 43200 seconds (12 hours). 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.
16 |
# File 'lib/fog/rackspace/models/queues/claim.rb', line 16 attribute :grace |