Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Cache] Revert "feature #41989 makeLockRegistry use semaphores when possible"#44667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:5.4fromnicolas-grekas:cache-no-sem
Dec 16, 2021

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?5.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#44536
LicenseMIT
Doc PR-

This reverts commit479919d, reversing
changes made to356c953.

I'd like to revert this PR because using semaphores is creating problems that don't have any easy solution.

ironlam reacted with thumbs up emoji
…res when possible (nicolas-grekas)"This reverts commit479919d, reversingchanges made to356c953.
@carsonbotcarsonbot added this to the5.4 milestoneDec 16, 2021
@carsonbotcarsonbot changed the titleRevert "feature #41989 [Cache] makeLockRegistry use semaphores when possible"[Cache] Revert "feature #41989 makeLockRegistry use semaphores when possible"Dec 16, 2021
nicolas-grekas added a commit that referenced this pull requestDec 16, 2021
This PR was merged into the 4.4 branch.Discussion----------[Cache] disable lock on CLI| Q             | A| ------------- | ---| Branch?       | 5.4| Bug fix?      | yes| New feature?  | no| Deprecations? || Tickets       |Fix#41130| License       | MIT| Doc PR        | -I thought using semaphores would fix the linked issue but I'm proposing to revert them in#44667Instead, I think we should disable the lock on CLI processes.The purpose of having locks enabled by default is to prevent cache stamped at deploy time. Disabling the lock on CLI still provides this protection on eg FPM.For ppl that really want a lock between eg crons and FPM, the lock component should be used instead.Commits-------b968514 [Cache] disable lock on CLI
@nicolas-grekasnicolas-grekas merged commiteb60956 intosymfony:5.4Dec 16, 2021
@nicolas-grekasnicolas-grekas deleted the cache-no-sem branchDecember 16, 2021 22:25
This was referencedDec 29, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof approved these changes

@chalasrchalasrchalasr approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

4 participants

@nicolas-grekas@stof@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp