Skip to content

Commit 9de7a8d

Browse files
committed
fix: lock expiry
1 parent aacff02 commit 9de7a8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/api/src/lib/locks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const acquireLock = async (key, ttl = 900) => {
1111
sk: lockKey,
1212
_expires: expires,
1313
},
14-
true,
14+
false,
1515
{
1616
ConditionExpression: "attribute_not_exists(pk) OR #expires < :now",
1717
ExpressionAttributeNames: {

0 commit comments

Comments
 (0)