in src/main/kotlin/org/jetbrains/teamcity/github/WebHooksManager.kt [71:78]
fun updateLastUsed(hookInfo: WebHookInfo, date: Date) {
// TODO: We should not show vcs root instances in health report if hook was used in last 7 (? or any other number) days. Even if we have not created that hook.
val used = hookInfo.lastUsed
hookInfo.status = Status.OK
if (used == null || used.before(date)) {
hookInfo.lastUsed = date
}
}