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

Remove redundant run methods in SolidQueue::Processes #367

Merged
merged 1 commit into from
Oct 6, 2024

Conversation

yahonda
Copy link
Member

@yahonda yahonda commented Oct 1, 2024

This commit removes one of the redundant run methods in SolidQueue::Processes

Here are the warning messages appeared at Rails Nightly CI: https://buildkite.com/rails/rails-nightly/builds/1091#019244bc-9d36-476d-8924-5e2bea4cb728/1173-1176

/usr/local/lib/ruby/gems/3.4.0+0/gems/solid_queue-1.0.0/lib/solid_queue/processes/runnable.rb:52: warning: method redefined; discarding old run
/usr/local/lib/ruby/gems/3.4.0+0/gems/solid_queue-1.0.0/lib/solid_queue/processes/runnable.rb:44: warning: previous definition of run was here

This commit removes one of the redundant `run` methods in `SolidQueue::Processes`

Here are the warning messages appeared at Rails Nightly CI:
https://buildkite.com/rails/rails-nightly/builds/1091#019244bc-9d36-476d-8924-5e2bea4cb728/1173-1176
```
/usr/local/lib/ruby/gems/3.4.0+0/gems/solid_queue-1.0.0/lib/solid_queue/processes/runnable.rb:52: warning: method redefined; discarding old run
/usr/local/lib/ruby/gems/3.4.0+0/gems/solid_queue-1.0.0/lib/solid_queue/processes/runnable.rb:44: warning: previous definition of run was here
```
@yahonda
Copy link
Member Author

yahonda commented Oct 1, 2024

The reason why this pull request removes this one is #337 added the run method later.

@byroot byroot merged commit 51c75be into rails:main Oct 6, 2024
4 checks passed
@rosa
Copy link
Member

rosa commented Oct 6, 2024

Thanks a lot @yahonda! 🙏 And thanks a lot to @byroot for merging this! I've been on-call the past week and it's been crazy busy so I hadn't had the time to tend to this repo 🙈 😳

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.

3 participants