PriceGhost/backend
clucraft a2b632d35b Add staggered checking with jitter to prevent rate limiting
- Add next_check_at column to track when each product should be checked
- New products get random initial delay (0 to refresh_interval) to spread them out
- Each check adds ±5 minute jitter so products naturally drift apart over time
- Randomize delay between requests (2-5 seconds instead of fixed 2s)

This prevents all products from being checked at the same time,
reducing the risk of being rate-limited or blocked by retailers.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 21:34:28 -05:00
..
src Add staggered checking with jitter to prevent rate limiting 2026-01-20 21:34:28 -05:00
.dockerignore Initial commit: PriceGhost price tracking application 2026-01-20 13:58:13 -05:00
.env.example Initial commit: PriceGhost price tracking application 2026-01-20 13:58:13 -05:00
Dockerfile Fix Dockerfiles: use npm install instead of npm ci 2026-01-20 14:02:06 -05:00
package.json Initial commit: PriceGhost price tracking application 2026-01-20 13:58:13 -05:00
tsconfig.json Initial commit: PriceGhost price tracking application 2026-01-20 13:58:13 -05:00