mirror of
https://github.com/internetee/registry.git
synced 2025-06-04 11:47:30 +02:00
Fix orphan message behaviour
This commit is contained in:
parent
9e316ba505
commit
51410cdb3f
1 changed files with 2 additions and 3 deletions
|
@ -24,9 +24,8 @@ module Epp
|
|||
# SELECT messages.id, domains.name, messages.body FROM messages LEFT OUTER
|
||||
# JOIN domains ON attached_obj_id::INTEGER = domains.id
|
||||
# WHERE attached_obj_type = 'Epp::Domain' AND name IS NULL;
|
||||
|
||||
Rails.logger.error 'orphan message, error ignored: ' + problem.to_s
|
||||
# now we should dequeue or delete the messages avoid duplicate log alarms
|
||||
message = 'orphan message, domain deleted, registrar should dequeue: '
|
||||
Rails.logger.error message + problem.to_s
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue