0cd4d73f9b72e2db545b2fabca5d63f0710838c9
riderlogs is an unbounded RPUSH-only list (929K+ entries as of writing, ~650MB), which is why getriderlogs needed a longer timeout in v2.7.58. Adds a CronJob that runs daily at 3am IST, binary-searches for the 90-day retention cutoff (the list is append-ordered so roughly chronological), and LTRIMs anything older. Binary search avoids scanning the full list - ~20 LINDEX calls instead of pulling 900K+ entries. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Description
No description provided
Languages
Python
80.9%
Shell
13.4%
HCL
4.7%
Dockerfile
1%