We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aacff02 commit 9de7a8dCopy full SHA for 9de7a8d
packages/api/src/lib/locks.js
@@ -11,7 +11,7 @@ export const acquireLock = async (key, ttl = 900) => {
11
sk: lockKey,
12
_expires: expires,
13
},
14
- true,
+ false,
15
{
16
ConditionExpression: "attribute_not_exists(pk) OR #expires < :now",
17
ExpressionAttributeNames: {
0 commit comments