]> git.giacomolli.uk - onechat/commit
Give the rebuild its own call limit
authorAnderson A. Giacomolli <redacted>
Mon, 9 Nov 2026 21:56:19 +0000 (18:56 -0300)
committerAnderson A. Giacomolli <redacted>
Mon, 9 Nov 2026 21:56:19 +0000 (18:56 -0300)
commit016d46008fc9726d2617e4e3ea098113f34c7636
treece03ac8c0bce44c5939797e562486d0d7d0ae23b
parent39d1a3fd09f8255298590b4413115ae72e0e3928
Give the rebuild its own call limit

A rebuild summarizes the whole merged log, so it can need more calls
than a probe sample. The import of two chats estimates 647 calls, close
to the 660 calls of the probe, and a stop at the limit swaps nothing and
wastes the calls. The rebuild now stops after 1,500 calls, and the quota
stop still guards the account. The probe keeps its own limit of 660
calls.

Issue: b0b8bf9
README.rst
build_run.go
probe.go
rebuild.go
whatsapp_import.go
whatsapp_import_test.go