Skip to content

Commit e7198f4

Browse files
committed
Remove redundant run methods in SolidQueue::Processes
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 ```
1 parent 29b1847 commit e7198f4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/solid_queue/processes/runnable.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ def boot
4141
end
4242
end
4343

44-
def run
45-
raise NotImplementedError
46-
end
47-
4844
def shutting_down?
4945
stopped? || (running_as_fork? && supervisor_went_away?) || finished? || !registered?
5046
end

0 commit comments

Comments
 (0)