Skip to content

Commit

Permalink
fix: fix issue running message pruning task
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcooke committed Jun 20, 2024
1 parent 4fa88ac commit 3a33e53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class ProcessMessageRetentionScheduledTask < ApplicationScheduledTask

def perform
def call
Server.all.each do |server|
if server.raw_message_retention_days
# If the server has a maximum number of retained raw messages, remove any that are older than this
Expand Down

0 comments on commit 3a33e53

Please sign in to comment.