feat: automatically remove queued messages with stale locks (#2872)

This commit is contained in:
Adam Cooke
2024-03-12 11:37:29 +00:00
committed by GitHub
parent 5d8213a987
commit d84152eb5d
14 changed files with 323 additions and 29 deletions
+5
View File
@@ -91,6 +91,11 @@ module Postal
description "An array of IP addresses to trust for proxying requests to Postal (in addition to localhost addresses)"
transform { |ip| IPAddr.new(ip) }
end
integer :queued_message_lock_stale_days do
description "The number of days after which to consider a lock as stale. Messages with stale locks will be removed and not retried."
default 1
end
end
group :web_server do