workflow_manager 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/workflow_manager +5 -1
- data/lib/workflow_manager/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ea3816ec54cac7bf1097d94f410aeb9d17641755494de742814c4151a20d4de
|
4
|
+
data.tar.gz: 8adcaf1765299151ccddc6f68740989e265b68b7829c07a4e49ee751bb0ff608
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb11c23c1346ca6fff218b2283b6254cf18ef3872725c1f7a068c8261d1af2217d7d13686c61ea28f2d4c01b7c1f1b242862f9ae60e223ffb64f70d0646aae2b
|
7
|
+
data.tar.gz: 764e474e5fbbf9fffb411f5484c774bff60e517893ef983e7307ca923d8c12f982ac4c4f20468015d7b78a2b0ff4c9adab8cbf465c0a9fb09bf46170bd9eea69
|
data/bin/workflow_manager
CHANGED
@@ -33,7 +33,9 @@ if opt.mode
|
|
33
33
|
default_config_file = File.join(default_config_dir, opt.mode+".rb")
|
34
34
|
if File.exist?(default_config_file)
|
35
35
|
default_redis_config_file = File.join(default_config_dir, "redis.conf")
|
36
|
+
default_sidekiq_config_file = File.join(default_config_dir, "sidekiq.conf")
|
36
37
|
FileUtils.cp(default_redis_config_file, config_dir)
|
38
|
+
FileUtils.cp(default_sidekiq_config_file, config_dir)
|
37
39
|
FileUtils.cp(default_config_file, config_file)
|
38
40
|
else
|
39
41
|
raise "Configure file does not exist: #{config_file}"
|
@@ -48,7 +50,9 @@ puts DRb.uri
|
|
48
50
|
sleep 1
|
49
51
|
|
50
52
|
sidekiq_pid = fork do
|
51
|
-
|
53
|
+
app_dir = File.expand_path('..', __FILE__)
|
54
|
+
job_checker = File.join(app_dir, "../lib/job_checker.rb")
|
55
|
+
exec("sidekiq -C config/environments/sidekiq.yml -r #{job_checker}")
|
52
56
|
end
|
53
57
|
|
54
58
|
begin
|