Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase frequency of lock tries when $timeout is used in FileMutex #16839

Merged
merged 9 commits into from
Oct 31, 2018

Conversation

rob006
Copy link
Contributor

@rob006 rob006 commented Oct 27, 2018

Q A
Is bugfix? no
New feature? yes
Breaks BC? no
Tests pass? yes

This changes frequency of lock tries for FileMutex::acquireLock() when $timeout is provided (and make it configurable). Previously it was once try per second, now it is 20 tries per second.

See yiisoft/yii2-queue#244 (comment)

@rob006 rob006 added this to the 2.0.16 milestone Oct 27, 2018
@samdark samdark merged commit 91c96ff into yiisoft:master Oct 31, 2018
@samdark
Copy link
Member

samdark commented Oct 31, 2018

Merged. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants