A request that waited for its lookup is counted when it goes on #133

Merged
clawbot merged 1 commits from issue-129-count-after-lookup into next 2026-10-14 19:41:54 +02:00
1 Commits
Author SHA1 Message Date
sneak dd36a76d8f A request that waited for its lookup is counted when it goes on (closes #129)
check / check (push) Waiting to run
checkClient read the time before the lookup, which can wait for GeoJS
up to SWWAF_LOOKUP_TIMEOUT, and the rate limits counted the request at
that time. Two requests of a new client waiting across the end of a
minute could then be counted out of order, and the one dated more than a
second before the minute under way began made the rate limits start
that window afresh, as for a clock set back: the other request's count
was lost. The checks after the lookup now read the time again.

Model: opus-5-5
2026-10-14 16:42:22 +00:00