pseudo: Increase number of retries

Increase number of retries to handle slow exiting servers.

(From OE-Core rev: 2d70c2afce9d121db98296bce275be956bf13137)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2016-02-22 17:24:59 +00:00
parent 030d920e2d
commit 1c060d738a
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,19 @@
Increase the number of retries in pseudo due to occasional slow
server shutdowns.
Upstream-Status: Pending
RP 2016/2/28
Index: pseudo-1.7.5/pseudo_client.c
===================================================================
--- pseudo-1.7.5.orig/pseudo_client.c
+++ pseudo-1.7.5/pseudo_client.c
@@ -1214,7 +1214,7 @@ pseudo_client_setup(void) {
return 1;
}
-#define PSEUDO_RETRIES 50
+#define PSEUDO_RETRIES 250
static pseudo_msg_t *
pseudo_client_request(pseudo_msg_t *msg, size_t len, const char *path) {
pseudo_msg_t *response = 0;

View File

@ -5,6 +5,7 @@ SRC_URI = " \
file://0001-configure-Prune-PIE-flags.patch \
file://fallback-passwd \
file://fallback-group \
file://moreretries.patch \
"
SRC_URI[md5sum] = "c10209938f03128d0c193f041ff3596d"