Default timeout of 500ms is easily exceeded on low-end and/or overloaded
systems, causing dlogutil failures. This commit bumps the limit to 5s.
Change-Id: Ia7083fef7fa2bd5bf790b9ab0758f9d2b1599823
#include "fdi_pipe.h"
#include "fdi_pipe_internal.h"
+#define DEFAULT_WAIT_DLOGUTIL_PIPE_MS 5000;
+
static int pipe_get_capacity(struct fd_info *fdi, unsigned int *capacity)
{
assert(fdi);
if (r < 0)
return r;
- int pipe_fd = recv_pipe(ppd->sock_fd, DEFAULT_WAIT_PIPE_MS);
+ int pipe_fd = recv_pipe(ppd->sock_fd, DEFAULT_WAIT_DLOGUTIL_PIPE_MS);
if (pipe_fd < 0)
return pipe_fd;