mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
Improve the readability of some log messages
This patch contains a few changes to logging messages, to improve log readability. While at it, an obsolete TODO in the SMTP courier is removed.
This commit is contained in:
@@ -329,7 +329,7 @@ func (item *Item) SendLoop(q *Queue) {
|
||||
|
||||
delay := nextDelay(item.CreatedAt)
|
||||
tr.Printf("waiting for %v", delay)
|
||||
maillog.QueueLoop(item.ID, delay)
|
||||
maillog.QueueLoop(item.ID, item.From, delay)
|
||||
time.Sleep(delay)
|
||||
}
|
||||
|
||||
@@ -339,7 +339,7 @@ func (item *Item) SendLoop(q *Queue) {
|
||||
}
|
||||
|
||||
tr.Printf("all done")
|
||||
maillog.QueueLoop(item.ID, 0)
|
||||
maillog.QueueLoop(item.ID, item.From, 0)
|
||||
q.Remove(item.ID)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user