Merge branch 'master' into key-expiry

This commit is contained in:
2012-04-18 11:41:07 +01:00
5 changed files with 142 additions and 73 deletions

View File

@@ -14,7 +14,8 @@ module Redistat
def thread_safe
monitor.synchronize do
@thread_safe ||= false
return @thread_safe unless @thread_safe.nil?
@thread_safe = false
end
end