updateMaxConcurrent

fun updateMaxConcurrent(maxConcurrent: Int)

Replaces the shared inference semaphore with a new limit.