git clone https://orangeshoelaces.net/git/tttm.git
Author: Vasily Kolobkov on 05/30/2016
Committer: Vasily Kolobkov on 05/30/2016
Move mail in batches of 10
tttm.c | 10 +++-----
1 file changed, 3 insertions(+), 7 deletions(-)
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 *);