def healthcheck()

in newswires/app/controllers/ManagementController.scala [14:20]


  def healthcheck() = Action {
    if (Database.healthcheck == 1) {
      Ok("ok")
    } else {
      InternalServerError("database returned non-1 from healthcheck")
    }
  }