Skip to content

Commit 63249fd

Browse files
committed
Install symfony/lock dependency
1 parent c6d2a23 commit 63249fd

7 files changed

Lines changed: 106 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.7",
3636
"symfony/http-client": "^8.1.7",
3737
"symfony/intl": "^8.1.5",
38+
"symfony/lock": "^8.1.6",
3839
"symfony/mailer": "^8.1.7",
3940
"symfony/mime": "^8.1.7",
4041
"symfony/monolog-bundle": "^4.1.0",

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

docker/env.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
'ENCRYPTION_KEY_FILE' => '/srv/config/secrets/encryption_key',
1515
'GITHUB_TOKEN' => '',
1616
'KERNEL_SECRET_FILE' => '/srv/config/secrets/kernel_secret',
17+
'LOCK_DSN' => 'flock',
1718
'MAILER_DSN' => 'null://null',
1819
'SENTRY_DSN' => '',
1920
'TRUSTED_PROXIES' => '',

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)