Conversation
|
this one LGTM, but have you tested this yet? |
|
@anandkumarpatel what do you mean by "tested"? Some specific behavior or if locks will be removed after expiration period? |
|
as in, do you have a branch of API server running this right now on IO so we can test it before we put it on staging |
There was a problem hiding this comment.
use eson to translate readable value to ms
|
👍 |
|
@anandkumarpatel he has a unit test. will not be able to test in reality since all locks currently unlock themselves. |
|
No I mean like test on io just to ensure all functions work.
|
There was a problem hiding this comment.
can you just set this value in .env.test
|
verified on tj-stage and anton-stage |
Add expires time to the redis mutex. By default after 10 mins all locks would be gone.