aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/server.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mauve/server.rb')
-rw-r--r--lib/mauve/server.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/mauve/server.rb b/lib/mauve/server.rb
index 51587c0..4bd5a0f 100644
--- a/lib/mauve/server.rb
+++ b/lib/mauve/server.rb
@@ -43,7 +43,7 @@ module Mauve
# Sleep time between pooling the @buffer buffer.
@sleep = 1
- @freeze = false
+ @frozen = false
@stop = false
@stopped_at = MauveTime.now
@@ -166,7 +166,7 @@ module Mauve
begin
klass.instance.join
rescue StandardError => ex
- logger.warn "Caught #{ex.to_s} whilst checking #{klass} thread"
+ logger.error "Caught #{ex.to_s} whilst checking #{klass} thread"
logger.debug ex.backtrace.join("\n")
end
@@ -177,7 +177,8 @@ module Mauve
end
#
- # Now do the same with other threads.
+ # Now do the same with other threads. However if these ones crash, the
+ # server has to stop, as there is no method to restart them.
#
thread_list.each do |t|