1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-18 14:47:03 +00:00
Files
go-chasquid-smtp/internal
Alberto Bertogli 09d3c73f6c queue: Simplify sending loop
This patch simplifies the sending loop code:

 - Move the recipient sending function from a closure to a method.
 - Simplify the status update logic: we now update and write
   unconditionally (as we should have been doing).
 - Create a function for counting recipients in a given status.

It also adds a test for the removal of completed items from the queue,
which was not covered before and came up during development.
2016-10-21 22:13:39 +01:00
..
2016-10-10 00:51:05 +01:00
2016-10-10 00:51:05 +01:00
2016-10-10 00:51:05 +01:00
2016-10-21 22:13:39 +01:00
2016-05-06 23:00:55 +01:00
2016-10-10 00:51:04 +01:00
2016-10-21 22:13:39 +01:00
2016-10-10 00:51:05 +01:00