remove debug logging for cancel timer (#30773)
* too verbose and not much value
This commit is contained in:
parent
be0cf7c38b
commit
87bfeaeb2c
2 changed files with 0 additions and 4 deletions
|
|
@ -145,13 +145,11 @@ import scala.concurrent.duration.FiniteDuration
|
|||
}
|
||||
|
||||
private def cancelTimer(timer: Timer[T]): Unit = {
|
||||
ctx.log.debug("Cancel timer [{}] with generation [{}]", timer.key, timer.generation)
|
||||
timer.task.cancel()
|
||||
timers -= timer.key
|
||||
}
|
||||
|
||||
override def cancelAll(): Unit = {
|
||||
ctx.log.debug("Cancel all timers")
|
||||
timers.valuesIterator.foreach { timer =>
|
||||
timer.task.cancel()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -112,13 +112,11 @@ import akka.util.OptionVal
|
|||
}
|
||||
|
||||
private def cancelTimer(timer: Timer): Unit = {
|
||||
log.debug("Cancel timer [{}] with generation [{}]", timer.key, timer.generation)
|
||||
timer.task.cancel()
|
||||
timers -= timer.key
|
||||
}
|
||||
|
||||
override def cancelAll(): Unit = {
|
||||
log.debug("Cancel all timers")
|
||||
timers.valuesIterator.foreach { timer =>
|
||||
timer.task.cancel()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue