Add a timeout to UST application socket
[lttng-tools.git] / src / common / defaults.h
index 5495531f6318a5177b9d3e97fb05ff939121075f..0c0b6ac9c89628bb9fa7609bde99b9322d519c67 100644 (file)
  */
 #define DEFAULT_DATA_AVAILABILITY_WAIT_TIME 200000  /* usec */
 
  */
 #define DEFAULT_DATA_AVAILABILITY_WAIT_TIME 200000  /* usec */
 
+/*
+ * Default receiving and sending timeout for an application socket.
+ */
+#define DEFAULT_APP_SOCKET_RW_TIMEOUT       5  /* sec */
+#define DEFAULT_APP_SOCKET_TIMEOUT_ENV      "LTTNG_APP_SOCKET_TIMEOUT"
+
 #endif /* _DEFAULTS_H */
 #endif /* _DEFAULTS_H */
This page took 0.022747 seconds and 4 git commands to generate.