mirror of
https://github.com/karatektus/pl_mail.git
synced 2026-10-25 01:54:10 +00:00
Google lowered the per-user limit to 6,000 units a minute for projects created since May 2026 and raised a messages.get from 5 units to 20. The pacer had 15,000 and 5 written into it, so what it took for 9,000 units a minute was 36,000: most of what an import asked for was refused, the log filled with retries, and a refused listing ended the import's chain at CRITICAL (#90). the limit starts at 15,000 and is read out of the first 403, which names the limit and its value; forgotten after a day so a raised one is found again. Nothing to set. the cost 20 a message, and fifty messages a batch shared spend, refusal and limit are in a database-backed cache pool, so worker-backlog, worker-ingest and the web container draw on one allowance a refusal is "not now", not an error: a batch, an import page or a sync that meets one is put back until the account's minute is over, and a refused sync still restarts an import that has gone quiet The import line in the background-work indicator shows the limit, roughly what is in use of it, how long the rest takes, and says so when Google has paused the account. No migration: the pool is a key prefix in cache_items. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>