tttm

git clone https://orangeshoelaces.net/git/tttm.git

f1ace44c08581cc76f626a8e5f0c4d396254ceee

Author: Vasily Kolobkov on 05/30/2016

Committer: Vasily Kolobkov on 05/30/2016

Move mail in batches of 10

Stats

tttm.c | 10 +++-----
1 file changed, 3 insertions(+), 7 deletions(-)

Patch

diff --git a/tttm.c b/tttm.c
index 1f1bef5..14cd9ab 100644
--- a/tttm.c
+++ b/tttm.c
@@ -16,14 +16,10 @@
 
 #define MIN(a, b) ((a) <= (b) ? (a) : (b))
 
-/*
-   Run fetch, pipe and delete cycle on this many messages a pop.
-*/
-#define BATCHSZ 2
+/* Run fetch, pipe and delete cycle on this many messages a pop.  */
+#define BATCHSZ 10
 
-/*
-   Retry fetching mail at most this many times after getting a nil fetch.
-*/
+/* Retry fetching mail at most this many times after getting a nil fetch.  */
 #define MAXREFC 2
 
 static int	pipemsg(struct msgd *, int, const char *);