Feature request: Custom Config - Number of seconds to wait before a record is expired #1158
Closed
1 of 2 tasks
Labels
completed
This item is complete and has been merged/shipped
feature-request
This item refers to a feature request for an existing or new utility
idempotency
This item relates to the Idempotency Utility
Milestone
Use case
Description of the feature request
Problem statement
Library users want to specify how long does the idempotency record should last. Once it's expired, the library should behave like there is no such record
Check the design spec for details.
Summary of the feature
expiresAfterSeconds
inputPersistenceLayer.saveInProgress()
andPersistenceLayer.saveSuccess()
?PersistenceLayer.saveInProgress()
override an expired items?PersistenceLayer.getRecord()
return an expired item? Is there a logic for checking expiration in the library?Code examples
See the design spec
Story Checklist (for tracking progress)
TBD by an assignee
Definition of done
In scope
Out of scope
package.json
file #1102)Related issues, RFCs
#447
Solution/User Experience
See #447
Alternative solutions
Acknowledgment
The text was updated successfully, but these errors were encountered: