Skip to content

Commit d32e01a

Browse files
committed
Install symfony/lock dependency
1 parent f6ecc9d commit d32e01a

6 files changed

Lines changed: 105 additions & 2 deletions

File tree

.env.dirigent

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,9 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
5252
# See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
5353
DEFAULT_URI=http://localhost
5454
###< symfony/routing ###
55+
56+
###> symfony/lock ###
57+
# Choose one of the stores below
58+
# postgresql+advisory://db_user:db_password@localhost/db_name
59+
LOCK_DSN=flock
60+
###< symfony/lock ###

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"symfony/framework-bundle": "^8.1.5",
3636
"symfony/http-client": "^8.1.5",
3737
"symfony/intl": "^8.1.5",
38+
"symfony/lock": "^8.1",
3839
"symfony/mailer": "^8.1.5",
3940
"symfony/mime": "^8.1.5",
4041
"symfony/monolog-bundle": "^4.0.2",

composer.lock

Lines changed: 83 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/packages/lock.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
framework:
2+
lock: '%env(LOCK_DSN)%'

config/reference.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@
419419
* enabled?: bool|Param, // Default: true
420420
* },
421421
* lock?: Param|bool|string|array{ // Lock configuration
422-
* enabled?: bool|Param, // Default: false
422+
* enabled?: bool|Param, // Default: true
423423
* resources?: Param|string|array<string, Param|string|list<scalar|Param|null>>,
424424
* },
425425
* semaphore?: Param|bool|string|array{ // Semaphore configuration

symfony.lock

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)