Skip to content

Bugfix: Wrong option name passed to Suo for wait_timeout option#15

Open
pfeiffer wants to merge 1 commit intonickelser:masterfrom
pfeiffer:bugfix/concurrency-suo-options
Open

Bugfix: Wrong option name passed to Suo for wait_timeout option#15
pfeiffer wants to merge 1 commit intonickelser:masterfrom
pfeiffer:bugfix/concurrency-suo-options

Conversation

@pfeiffer
Copy link

@pfeiffer pfeiffer commented May 3, 2020

The parameter needed to control wait_timeout is named acquisition_timeout in Suo (https://github.com/nickelser/suo/blob/master/lib/suo/client/base.rb#L5) not acquisition_lock.

Essentially the current wait_timeout option is a no-op; it doesn't control anything. This PR fixes this and passes the correct parameter name to the Suo lock.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant