Skip to content

Commit e260afb

Browse files
songjizrosa
authored andcommitted
Rmove due? method from Executable, since it has been defined in Schedulable
1 parent 82bfef9 commit e260afb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/models/solid_queue/job/executable.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@ def finished?
8989
finished_at.present?
9090
end
9191

92-
def due?
93-
scheduled_at.nil? || scheduled_at <= Time.current
94-
end
95-
9692
def discard
9793
destroy unless claimed?
9894
end

0 commit comments

Comments
 (0)