Commit 001cc0fa authored by PiTrem's avatar PiTrem
Browse files

disable mailer for restart app

parent 33ad0f56
......@@ -91,9 +91,4 @@ Rails.application.configure do
config.browserify_rails.commandline_options = "-t [ babelify --presets [ es2015 react ] --plugins [ transform-object-rest-spread ] ] -g uglifyify -p bundle-collapser/plugin "
unless defined?(Rails::Console)
config.after_initialize do
AppRestartMailJob.set(wait: 1.minute).perform_later if Delayed::Job.where("handler like ?", "%AppRestartMailJob%").empty?
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment