def monitorThreadPool()

in api/src/main/scala/com/gu/adapters/http/Authentication.scala [139:148]


    def monitorThreadPool(threadPoolExecutor: ThreadPoolExecutor): Unit = {
      scheduler.scheduleAtFixedRate(
        () => {
          logger.info(s"identity API thread pool stats: $threadPoolExecutor")
        },
        60,
        60,
        TimeUnit.SECONDS
      )
    }