Skip to content

Commit 275797d

Browse files
committed
Fix misleading record count claim in high-water mark proposal
1 parent 756773c commit 275797d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

high-water-mark-proposal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ No more remembering to adjust `datefilterminutes` after downtime. System goes do
3030

3131
### 2. Eliminates the per-record hash lookup
3232

33-
This is the biggest performance win. Currently every record in the feed hits the DB for a hash check (`lib.php:217-222`). With 30k records and growing, that's a `SELECT` query per record. The high-water mark replaces all of them with a single config read at the start of each run.
33+
This is the biggest performance win. Currently every record in the feed hits the DB for a hash check (`lib.php:217-222`). That's a `SELECT` query per record returned by the rolling window -- which could be hundreds or thousands depending on the window size and activity. The high-water mark replaces all of them with a single config read at the start of each run.
3434

3535
### 3. API returns only new records
3636

0 commit comments

Comments
 (0)