Skip to content

Commit

Permalink
call stop directly
Browse files Browse the repository at this point in the history
  • Loading branch information
bedrock-adam committed Aug 12, 2024
1 parent 8152d8b commit 4a00662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/outboxer/publisher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def create_worker_thread(queue:, logger:, &block)
"in #{(Time.now.utc - dequeued_at).round(3)}s"
exception.backtrace.each { |frame| logger.error frame }

@stopped = true
stop

break
end
Expand Down

0 comments on commit 4a00662

Please sign in to comment.