67ffc07a048f070f668943fed662b1bfb16fd151
Two things made Opdater show 'Opdatering fejlede': the refresh ran synchronously (so a slow, rate-limited translate timed out the browser) and a 429 returned 502. Now: - /api/offers/refresh starts the work in a background thread and returns immediately; the button says 'Opdaterer i baggrunden' and reloads a bit later as batches land. A lock prevents overlapping runs. - match_offers_ai skips the Claude call when the offer set is unchanged since the last successful match (hashed), so it runs ~weekly (when the avis turns over), not every daily refresh — fewer calls, less cost, less rate pressure.
The file is empty.
Description
Languages
HTML
70.4%
Python
24.4%
JavaScript
3.2%
HCL
1.5%
Dockerfile
0.4%
Other
0.1%