| 522 | } |
| 523 | |
| 524 | int |
| 525 | wakeup(int /* event ATS_UNUSED */, Event * /* e ATS_UNUSED */) |
| 526 | { |
| 527 | for (auto &[o, b] : current_buffers) { |
| 528 | if (b && ink_hrtime_to_sec(ink_get_hrtime()) > b->expiration_time()) { |
| 529 | o->flush_buffer(b); |
| 530 | b = nullptr; |
| 531 | } |
| 532 | } |
| 533 | |
| 534 | return EVENT_CONT; |
| 535 | } |
| 536 | |
| 537 | LogBuffer * |
| 538 | current_buffer(LogObject *o, size_t *offset, size_t bytes_needed) |
nothing calls this directly
no test coverage detected