for w32 port
[oweals/gnunet.git] / src / include / gnunet_constants.h
index c32add92a8a506046c025fea885b821fc4880dad..56a868e2ee68f6d429fe9f4d9b06676e0216e715 100644 (file)
@@ -51,6 +51,12 @@ extern "C"
  */
 #define GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 5)
 
+/**
+ * After how long do we consider a connection to a peer dead
+ * if we got an explicit disconnect and were unable to reconnect?
+ */
+#define GNUNET_CONSTANTS_DISCONNECT_SESSION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5)
+
 /**
  * How long do we delay reading more from a peer after a quota violation?
  */