Skip to content

Remove redundant run methods in SolidQueue::Processes - #367

Merged
byroot merged 1 commit into
rails:mainfrom
yahonda:remove_redundant_run_methods
Oct 6, 2024
Merged

Remove redundant run methods in SolidQueue::Processes#367
byroot merged 1 commit into
rails:mainfrom
yahonda:remove_redundant_run_methods

Conversation

@yahonda

@yahonda yahonda commented Oct 1, 2024

Copy link
Copy Markdown
Member

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

yahonda commented Oct 1, 2024

Copy link
Copy Markdown
Member Author

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
@rosa

rosa commented Oct 6, 2024

Copy link
Copy Markdown
Member

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