lib/negroku/tasks/delayed_job.rake in negroku-2.0.0.pre7 vs lib/negroku/tasks/delayed_job.rake in negroku-2.0.0
- old
+ new
@@ -5,9 +5,11 @@
namespace :load do
task :defaults do
set :delayed_job_workers, 1
set :delayed_job_queues, nil
set :delayed_job_pool, nil
+
+ set :delayed_job_prefix, -> { "#{fetch(:application)}" }
end
end
namespace :negroku do