mirror of
https://github.com/postalserver/postal.git
synced 2026-10-18 10:17:22 +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:
@@ -0,0 +1,11 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "authie/session"
|
||||
|
||||
class CleanupAuthieSessionsScheduledTask < ApplicationScheduledTask
|
||||
|
||||
def call
|
||||
Authie::Session.cleanup
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user