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

map-services / fuel-prices-api / 25822058421

13 May 2026 07:37PM UTC coverage: 49.425% (-0.4%) from 49.863%
25822058421

Pull #59

github

rm-hull
feat: add flexible refresh policies for API

Introduced a string-based `refresh` configuration to replace the boolean
`fullRefresh` flag. This allows for more granular control over data
synchronization.

- Supported values: `full`, `never`, `incremental`.
- Prevents fetching in CRON jobs when set to `never`.

```mermaid
graph LR
    A[Cron Job] --> B{ShouldRefresh?}
    B -- never --> C[Skip]
    B -- incremental --> D[Fetch Updates]
    B -- full --> E[Fetch All]
```
Pull Request #59: feat: add flexible refresh policies for API

4 of 26 new or added lines in 6 files covered. (15.38%)

25 existing lines in 1 file now uncovered.

730 of 1477 relevant lines covered (49.42%)

0.54 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/cmd/api_server.go


Source Not Available

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