Skip to content

Commit 9ebabc3

Browse files
committed
forgot to save first
1 parent 4c2302e commit 9ebabc3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/sidekiq/job/iterable.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ def initialize
2828

2929
@_executions = 0
3030
@_cursor = nil
31-
@_interrupted = 0
3231
@_start_time = nil
3332
@_runtime = 0
3433
end
@@ -154,7 +153,6 @@ def fetch_previous_iteration_state
154153
unless state.empty?
155154
@_executions = state["ex"].to_i
156155
@_cursor = Sidekiq.load_json(state["c"])
157-
@_interrupted = state["int"].to_i
158156
@_runtime = state["rt"].to_f
159157
end
160158
end
@@ -192,7 +190,6 @@ def iterate_with_enumerator(enumerator, arguments)
192190
end
193191

194192
def reenqueue_iteration_job
195-
@_interrupted += 1
196193
flush_state
197194
logger.debug { "Interrupting job (cursor=#{@_cursor.inspect})" }
198195

0 commit comments

Comments
 (0)