Skip to content

Commit b86806e

Browse files
committed
Code style
1 parent f6c24af commit b86806e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Locker/PostgresAdvisoryLocker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function tryAcquireLockWithinTransaction(
5353
// TODO: Need to sanitize humanReadableValue?
5454
$statement = $dbConnection->prepare(
5555
<<<SQL
56-
SELECT PG_ADVISORY_XACT_LOCK(:lock_id); -- $postgresLockId->humanReadableValue
56+
SELECT PG_TRY_ADVISORY_XACT_LOCK(:lock_id); -- $postgresLockId->humanReadableValue
5757
SQL,
5858
);
5959
$statement->execute(

0 commit comments

Comments
 (0)