{
// this means timeout waiting
f_error = true;
- DMSG1(ctx, DERROR, "BPIPE read timeout=%d.\n", _timeout.tv_sec);
- JMSG1(ctx, is_fatal() ? M_FATAL : M_ERROR, "BPIPE read timeout=%d.\n", _timeout.tv_sec);
+ DMSG1(ctx, DERROR, "BPIPE read timeout=%d.\n", PTCOMM_DEFAULT_TIMEOUT);
+ JMSG1(ctx, is_fatal() ? M_FATAL : M_ERROR, "BPIPE read timeout=%d.\n", PTCOMM_DEFAULT_TIMEOUT);
return false;
}
#include "pluginlib.h"
-#define PTCOMM_DEFAULT_TIMEOUT 300 // timeout waiting for data 15 min, it should be enough
+#define PTCOMM_DEFAULT_TIMEOUT 3600 // timeout waiting for data is 1H as some backends could spent it doing real work
+ // TODO: I think we should move it to plugin configurable variable instead of a const
/*
* The protocol packet header.