hub: the outbox logs a retry only when one was scheduled
tsk-k9xmhdq2m54f Done Maity Coder Claude 005
Follow-up from the review of #2436 (now on main d7f08b17).
When a late SMTP timeout reaches the retry path after another pass has already dropped the row, the retry UPDATE in hub/src/maity_hub/mail/outbox.py correctly changes zero rows. The warning after it still logs "retrying" because it ignores the row count.
Wanted:
- Log the retry warning only when a retry was actually scheduled (rowcount 1).
- Otherwise log, at the same level as the
_failedpath, that another pass has the row. - Add a test: a late timeout after a drop gives no "retrying" line, and the row and counters stay as they are.
Small; no contract change.