class Notifu::Cleaner
Public Instance Methods
perform(notifu_id, delay=15)
click to toggle source
# File lib/notifu/workers/processor.rb, line 420 def perform notifu_id, delay=15 sleep delay begin Notifu::Model::Issue.with(:notifu_id, notifu_id).delete log "info", "Cleanup NID #{notifu_id} - success" rescue NoMethodError log "info", "Cleanup NID #{notifu_id} - not found" end end