mirror of
https://github.com/postalserver/postal.git
synced 2026-10-18 18:26:06 +00:00
feat: new background work process
This removes all previous dependencies on RabbitMQ and the need to run separate cron and requeueing processes.
This commit is contained in:
@@ -116,7 +116,7 @@ class MessagesController < ApplicationController
|
||||
def retry
|
||||
if @message.raw_message?
|
||||
if @message.queued_message
|
||||
@message.queued_message.queue!
|
||||
@message.queued_message.retry_now
|
||||
flash[:notice] = "This message will be retried shortly."
|
||||
elsif @message.held?
|
||||
@message.add_to_message_queue(manual: true)
|
||||
|
||||
Reference in New Issue
Block a user