# File lib/clockwork/manager.rb, line 17 def thread_available? Thread.list.select { |t| t['creator'] == self }.count < config[:max_threads] end