Commit Graph

8 Commits

Author SHA1 Message Date
Dmytro Zakharov
4488a19f28 - use ActiveSupport::Notifications to instrument events
- fix an issue when getting an exception inside application would not delete lock, so client could receive 429 after 500
2018-12-13 15:29:10 +01:00
alexisHetic
505395d3a5 Unlock redis for unsuccessful HTTP status 2018-07-16 18:06:19 +02:00
Dmytro Zakharov
17a2fed1f6 This commit is intended to fix an issue, when concurrent requests sent to an endpoint won't be protected by idempotency until the 1st request is finished.
This works adding a "lock" key in redis and returning 429 http error when concurrent requests are sent.
2018-06-28 16:09:02 +02:00
Dmytro Zakharov
e43ee51503 release v0.1.2 2018-04-24 16:55:17 +02:00
Jean Pierre Guarin
ab29371424 Add caching for successful responses 2018-02-16 10:28:15 -05:00
Dmytro Zakharov
517dc5c007 policy should be required 2018-01-22 19:40:03 +01:00
Dmytro Zakharov
b82e271caa first implementation 2018-01-22 18:58:30 +01:00
Dmytro Zakharov
26c1b70b07 initial commit 2018-01-22 16:29:33 +01:00