| 237 | } |
| 238 | |
| 239 | inline bool |
| 240 | HostDBInfo::is_down(ts_time now, ts_seconds fail_window) |
| 241 | { |
| 242 | auto last_fail = this->last_fail_time(); |
| 243 | return (last_fail != TS_TIME_ZERO) && (last_fail + fail_window < now); |
| 244 | } |
| 245 | |
| 246 | inline bool |
| 247 | HostDBInfo::mark_up() |
no test coverage detected