capistrano_multiconfig_parallel 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/capistrano_multiconfig_parallel/celluloid/celluloid_manager.rb +1 -1
- data/lib/capistrano_multiconfig_parallel/celluloid/celluloid_worker.rb +1 -1
- data/lib/capistrano_multiconfig_parallel/celluloid/child_process.rb +1 -1
- data/lib/capistrano_multiconfig_parallel/version.rb +1 -1
- 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: d6134462591dad203c8813ee2541c18ac6130a28
|
4
|
+
data.tar.gz: 1d05c54dac21aaab77ac4b1aaf23aa6bf022ae5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2219e649e4124fe1e50590114d12206ebb5de565bfa7ef20a48bc142ae0ab27402269d19efac9af8b77136688f3cbdb3b79524fc49e3f518d9e7781847d8bb6
|
7
|
+
data.tar.gz: 76887f9b98ddd6ad97185111d8f83946ff8d72a0ba656bd1fb8c0cfe09d9d710892a5fe260737008efc22df37a56b54374af8327ff5cd2a032ac79daedea9d6c
|
@@ -275,7 +275,7 @@ module CapistranoMulticonfigParallel
|
|
275
275
|
def worker_died(worker, reason)
|
276
276
|
debug("worker with mailbox #{worker.mailbox.inspect} died for reason: #{reason}") if self.class.debug_enabled?
|
277
277
|
job = @worker_to_job[worker.mailbox.address]
|
278
|
-
|
278
|
+
debug job.inspect if self.class.debug_enabled?
|
279
279
|
@worker_to_job.delete(worker.mailbox.address)
|
280
280
|
debug "restarting #{job} on new worker" if self.class.debug_enabled?
|
281
281
|
return if job.blank? || job_failed?(job)
|
@@ -229,7 +229,7 @@ module CapistranoMulticonfigParallel
|
|
229
229
|
return unless @execute_deploy
|
230
230
|
if exit_status.exitstatus != 0
|
231
231
|
debug("worker #{job_id} tries to terminate") if debug_enabled?
|
232
|
-
|
232
|
+
raise(CapistranoMulticonfigParallel::CelluloidWorker::TaskFailed, "task #{@action} failed ") # force worker to rollback
|
233
233
|
else
|
234
234
|
update_machine_state('FINISHED')
|
235
235
|
debug("worker #{job_id} notifies manager has finished") if debug_enabled?
|