class Puma::ThreadPool

def pool_capacity

@!attribute [r] pool_capacity
def pool_capacity
  waiting + (@max - spawned)
end