angael 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -68,14 +68,16 @@ module Angael
68
68
  stop!
69
69
  end
70
70
 
71
- loop do
72
- if @restart_after
71
+ if @restart_after
72
+ loop do
73
73
  # Periodically restart workers, 1 at a time.
74
74
  sleep @restart_after
75
75
  w = next_worker_to_restart
76
76
  w.stop!
77
77
  w.start!
78
- else
78
+ end
79
+ else
80
+ loop do
79
81
  # Don't restart workers if nothing is wrong.
80
82
  sleep 1
81
83
  end
@@ -1,3 +1,3 @@
1
1
  module Angael
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: angael
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.6
5
+ version: 0.0.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Paul Cortens