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

Convert expiration time to integer #330

Conversation

dareddov
Copy link
Contributor

@dareddov dareddov commented Aug 24, 2018

For example, I use sidekiq-cron which each parameter pass as a string and I need that change. When you pass this an integer a convert to an integer it will be the same.

@dareddov dareddov force-pushed the lock-expiration-calculation-convert-to-integer branch from 1132ee1 to 9c8e950 Compare August 24, 2018 10:50
@dareddov dareddov changed the title Convert expiration tine to integer Convert expiration time to integer Aug 24, 2018
@mhenrixon mhenrixon merged commit 1f5be65 into mhenrixon:master Aug 24, 2018
@mhenrixon mhenrixon self-assigned this Aug 24, 2018
@mhenrixon
Copy link
Owner

Thanks for the contribution @dareddov! I think it actually used to be .to_i at one point. Not sure why it got lost.

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