commit ae400b5a535a1aaeee112288fd18da9a1e0b128e
parent 24e2461fbd550593fabffc2044ca0a7cbcc771ca
Author: Bart Polot <bart@net.in.tum.de>
Date: Wed, 10 Jul 2013 11:58:22 +0000
- rollback
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/include/gnunet_constants.h b/src/include/gnunet_constants.h
@@ -49,7 +49,7 @@ extern "C"
* After how long do we consider a connection to a peer dead
* if we don't receive messages from the peer?
*/
-#define GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_YEARS, 5)
+#define GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 5)
/**
* How long do we delay reading more from a peer after a quota violation?
@@ -61,7 +61,7 @@ extern "C"
* even if we assume that the service commonly does not
* respond instantly (DNS, Database, etc.).
*/
-#define GNUNET_CONSTANTS_SERVICE_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_YEARS, 10)
+#define GNUNET_CONSTANTS_SERVICE_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 10)
/**
* How long do we delay messages to get larger packet sizes (CORKing)?