Show how many messages a minute a Gmail import is bringing in

The import line had the quota and the time left, both in units and
minutes. What somebody watching wants to see move is mail: a line with
roughly how many messages were fetched in the minute just gone, worked
out from what the pacer counted. Not shown while Google has the account
paused, when none are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Paul LütznerandClaude Opus 5.5 committed 2026-10-13 09:20:04 +02:00
1 parent 95f3291911
commit d06125bbf4
8 files changed
+30 -2

No files matched your search

+5
View File
@@ -170,6 +170,11 @@ the record and a missed nudge costs one stale render, never a wrong answer.
'%limit%': line.quota.limit|number_format,
}) }}
</p>
{% if line.quota.messagesPerMinute > 0 and not line.waiting %}
<p class="mt-0.5 text-[11px] text-ink-faint truncate" data-import-rate>
{{ 'jobs.import.rate'|trans({ '%count%': line.quota.messagesPerMinute|number_format }) }}
</p>
{% endif %}
{% if line.quota.minutesLeft is not null and (not line.waiting or line.quota.isPaused()) %}
<p class="mt-0.5 text-[11px] text-ink-faint truncate" data-import-remaining>
{% if line.quota.minutesLeft >= 60 %}