• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rm-hull / dot-block / 19306860444 / 1
41%
main: 41%

Build:
DEFAULT BRANCH: main
Ran 12 Nov 2025 05:53PM UTC
Files 13
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Nov 2025 05:53PM UTC coverage: 52.901% (-0.6%) from 53.547%
19306860444.1

push

github

web-flow
feat: Add scheduled DNS cache reaper (#23)

* feat: Add scheduled DNS cache reaper

Implements an automated cron job to regularly clean up
expired entries from the DNS cache.

- Runs every 10 minutes (`@every 10m`).
- Adds `dns_cache_reaper_calls` metric to monitor usage.

Fixes #8

* refactor: Rename generic cron jobs for clarity

The generic `CronJob` structures and constructors have been
renamed to better reflect their responsibilities:

*   Blocklist cron job renamed to `Downloader`.
*   Forwarder cron job renamed to `CacheReaper`.

* feat: Separate cron job schedules

The blocklist downloader and the cache reaper jobs now have
independent, configurable schedules.

This allows users to configure the refresh frequency for the
blocklist (default `@every 19h`) separately from the frequency
of the internal cache cleaning (default `@every 10m`).

- Updates the `App` structure to hold separate schedules.
- Introduces flags `--cron-schedule:downloader` and
  `--cron-schedule:cache-reaper`.

* Update internal/forwarder/cache_reaper.go

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

392 of 741 relevant lines covered (52.9%)

0.57 hits per line

Source Files on job 19306860444.1
  • Tree
  • List 13
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19306860444
  • adb489b5 on github
  • Prev Job for on main (#19289868891.1)
  • Next Job for on main (#19307150065.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc