diff options
Diffstat (limited to 'lib/thread.rb')
-rw-r--r-- | lib/thread.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.rb b/lib/thread.rb index 12fe81c542..d4b6ad6ec1 100644 --- a/lib/thread.rb +++ b/lib/thread.rb @@ -223,7 +223,7 @@ class SizedQueue<Queue def max=(max) Thread.critical = true - if @max >= max + if max >= @max @max = max Thread.critical = false else |