Akka Circuit Breaker maxFailures reset?

Hopefully this is a quick question, tried to look at the underlying source code but wasn’t able to find my answer.

For Akka’s circuit breaker’s maxFailures https://github.com/akka/akka/blob/master/akka-actor/src/main/scala/akka/pattern/CircuitBreaker.scala#L42

Is there a specific time interval that the circuit breaker is looking for? Or rephrased, does the counter of failures reset after a time interval?

The failure count is reset as soon as a request succeeds, so maxFailures is the max number of failures in a sequence before the breaker opens rather than a max number of failures in a time period.