Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | Increase the number of retries in pseudo due to occasional slow |
| 2 | server shutdowns. |
| 3 | |
| 4 | Upstream-Status: Pending |
| 5 | RP 2016/2/28 |
| 6 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 7 | Index: git/pseudo_client.c |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 8 | =================================================================== |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 9 | --- git.orig/pseudo_client.c |
| 10 | +++ git/pseudo_client.c |
| 11 | @@ -1282,7 +1282,7 @@ pseudo_client_setup(void) { |
| 12 | } |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 13 | } |
| 14 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 15 | -#define PSEUDO_RETRIES 20 |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 16 | +#define PSEUDO_RETRIES 250 |
| 17 | static pseudo_msg_t * |
| 18 | pseudo_client_request(pseudo_msg_t *msg, size_t len, const char *path) { |
| 19 | pseudo_msg_t *response = 0; |