capistrano3-delayed-job 1.7.4 → 1.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/capistrano3-delayed-job.gemspec +1 -1
- data/lib/capistrano/tasks/delayed_job.rake +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c3bf7f04b4c647d99bf1f2bf10cbca4030eb65d
|
4
|
+
data.tar.gz: ecfdd0a5fa7134fb6bc87b9bcad26f97d6f89a8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ad466091620724ea0cd81889f2d7f5798d0b3947a99152ec692499638992b3f980f28dd46a8edc4de3335a16f00b43633cdd2d85a45296dbe90f8922dbef6fe
|
7
|
+
data.tar.gz: dcf3d007875f2107f5bb3ce2ce418efb2c1bfa9e006e782bb693ab005928188cdfc60cddf4d0fa333dae27a0a8c0beb9e6352cc5c7ccc378bc1257794d6ed3cb
|
data/README.md
CHANGED
@@ -124,6 +124,10 @@ set :delayed_job_roles, [:app, :background]
|
|
124
124
|
### Set the location of the delayed_job pid file(s)
|
125
125
|
# default value: "#{Rails.root}/tmp/pids" or "#{Dir.pwd}/tmp/pids"
|
126
126
|
# set :delayed_job_pid_dir, 'path_to_pid_dir'
|
127
|
+
|
128
|
+
### Set the options to be passed along to daemons when starting/stopping/restarting delayed_job workers
|
129
|
+
# options supported by daemons can be found at https://github.com/thuehlinger/daemons/blob/master/lib/daemons/cmdline.rb
|
130
|
+
# set :delayed_job_daemon_opts, ["no_wait", "shush"]
|
127
131
|
```
|
128
132
|
|
129
133
|
It also conditionally adds the following hook:
|
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "capistrano3-delayed-job"
|
8
|
-
spec.version = "1.7.
|
8
|
+
spec.version = "1.7.5"
|
9
9
|
spec.authors = ["Rob Biedenharn",
|
10
10
|
"Juan Ignacio Donoso",
|
11
11
|
"Agustin Feuerhake",
|
@@ -18,6 +18,9 @@ namespace :delayed_job do
|
|
18
18
|
elsif fetch(:delayed_job_pools, nil)
|
19
19
|
args << fetch(:delayed_job_pools, {}).map {|k,v| "--pool='#{k}:#{v}'" }.join(' ')
|
20
20
|
end
|
21
|
+
unless fetch(:delayed_job_daemon_opts).nil?
|
22
|
+
args << "--daemon-options='--#{fetch(:delayed_job_daemon_opts, []).join(',--')}'"
|
23
|
+
end
|
21
24
|
args.join(' ')
|
22
25
|
end
|
23
26
|
|