From 7062d48435d95914965e922eecb5932439eb295e Mon Sep 17 00:00:00 2001 From: Jean-loup Gailly Date: Sun, 7 Mar 2010 12:19:47 +0100 Subject: [PATCH] distributed engine: do not resend history continously. --- distributed/distributed.c | 1 + 1 file changed, 1 insertion(+) diff --git a/distributed/distributed.c b/distributed/distributed.c index 397d099..d44ddd4 100644 --- a/distributed/distributed.c +++ b/distributed/distributed.c @@ -202,6 +202,7 @@ slave_loop(FILE *f, struct in_addr client, char *buf, bool resend) pthread_mutex_lock(&slave_lock); if (*line != '\n') return; if (reply_id == cmd_id && *buf == '=') { + resend = false; gtp_replies[reply_count++] = buf; pthread_cond_signal(&reply_cond); } else { -- 2.11.4.GIT