Commit Graph

1 Commits

Author SHA1 Message Date
zenfun
830c6fa6e7 feat(cron): implement IP ban maintenance tasks
Add IPBanManager to handle periodic background jobs including:
- Expiring outdated bans
- Syncing hit counts from Redis to DB
- Performing full Redis state synchronization

Additionally, update the service expiration logic to use system time
and add unit tests for CIDR normalization and overlap checking.
2026-01-04 01:28:43 +08:00