Ovidiu U 06f5f2035f refactor: extract iterateBatches helper in FuelPriceService
Audit item #9. pollPrices() and refreshStations() shared the same
do/while batch loop with token + try/catch + Log::error + clean-exit
detection but different bodies. Extracted to a private iterateBatches()
that takes the endpoint, optional since timestamp, and a process
callable. Returns [total_processed, completedCleanly] so pollPrices
can still gate its incremental-poll cache update on a clean exhaustion.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 20:21:21 +01:00
2026-04-03 16:47:05 +01:00
2026-04-03 16:47:05 +01:00
2026-04-03 16:47:05 +01:00
2026-04-03 16:47:05 +01:00
2026-04-29 09:29:07 +01:00
2026-04-04 08:23:04 +01:00
2026-04-03 16:47:05 +01:00
2026-04-03 16:47:05 +01:00
2026-04-03 16:47:05 +01:00
2026-04-03 16:47:05 +01:00
2026-04-03 16:45:47 +01:00

The file is empty.
Description
No description provided
Readme 2.7 MiB
Languages
PHP 60.5%
Vue 14.8%
Blade 14%
HTML 9.2%
JavaScript 1%
Other 0.5%