summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/pseudo/files
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-22 17:24:59 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-28 12:00:45 +0000
commit2d70c2afce9d121db98296bce275be956bf13137 (patch)
treee41ad9955cb36e3121c1946aec27b6f2cffbf312 /meta/recipes-devtools/pseudo/files
parent1bf4513b9b764a500f28f34d62f4738b4ccca9d7 (diff)
downloadopenembedded-core-2d70c2afce9d121db98296bce275be956bf13137.tar.gz
openembedded-core-2d70c2afce9d121db98296bce275be956bf13137.tar.bz2
openembedded-core-2d70c2afce9d121db98296bce275be956bf13137.zip
pseudo: Increase number of retries
Increase number of retries to handle slow exiting servers. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/pseudo/files')
-rw-r--r--meta/recipes-devtools/pseudo/files/moreretries.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pseudo/files/moreretries.patch b/meta/recipes-devtools/pseudo/files/moreretries.patch
new file mode 100644
index 0000000000..c1e5552365
--- /dev/null
+++ b/meta/recipes-devtools/pseudo/files/moreretries.patch
@@ -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;