Skip to content

Commit ae7549c

Browse files
committed
MC-18834: [Backport] Deadlocks when consumers run from cron
1 parent 0b16848 commit ae7549c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Lock/Backend/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Database implements \Magento\Framework\Lock\LockManagerInterface
2525
* MariaDB does not support negative timeout value to get infinite timeout,
2626
* so we set 1 week for lock timeout
2727
*/
28-
private const MAX_LOCK_TIME = 604800;
28+
const MAX_LOCK_TIME = 604800;
2929

3030
/**
3131
* @var ResourceConnection

0 commit comments

Comments
 (0)