1 Index: src/transport/gnunet-service-transport_neighbours.c
2 ===================================================================
3 --- src/transport/gnunet-service-transport_neighbours.c (revision 27335)
4 +++ src/transport/gnunet-service-transport_neighbours.c (working copy)
6 * send 3 keepalives in each interval, so 3 messages would need to be
7 * lost in a row for a disconnect).
9 -#define KEEPALIVE_FREQUENCY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 100)
10 +#define KEEPALIVE_FREQUENCY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_YEARS, 100)
13 * How long are we willing to wait for a response from ATS before timing out?
14 Index: src/transport/gnunet-service-transport_validation.c
15 ===================================================================
16 --- src/transport/gnunet-service-transport_validation.c (revision 27335)
17 +++ src/transport/gnunet-service-transport_validation.c (working copy)
19 * OTOH, we don't want to spend too much time generating PONG signatures,
20 * so they must have some lifetime to reduce our CPU usage.
22 -#define PONG_SIGNATURE_LIFETIME GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_HOURS, 1)
23 +#define PONG_SIGNATURE_LIFETIME GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_HOURS, 12)
26 * After how long do we expire an address in a HELLO that we just
28 * we cannot validate (because after this time we can destroy the
31 -#define UNVALIDATED_PING_KEEPALIVE GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 5)
32 +#define UNVALIDATED_PING_KEEPALIVE GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_HOURS, 4)
35 * How often do we PING an address that we have successfully validated
36 * in the past but are not actively using? Should be (significantly)
37 * smaller than HELLO_ADDRESS_EXPIRATION.
39 -#define VALIDATED_PING_FREQUENCY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 15)
40 +#define VALIDATED_PING_FREQUENCY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_HOURS, 6)
43 * How often do we PING an address that we are currently using?
45 -#define CONNECTED_PING_FREQUENCY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 2)
46 +#define CONNECTED_PING_FREQUENCY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_YEARS, 2)
49 * How much delay is acceptable for sending the PING or PONG?
51 -#define ACCEPTABLE_PING_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 1)
52 +#define ACCEPTABLE_PING_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 1)
55 * Size of the validation map hashmap.
56 Index: src/include/gnunet_constants.h
57 ===================================================================
58 --- src/include/gnunet_constants.h (revision 27335)
59 +++ src/include/gnunet_constants.h (working copy)
61 * After how long do we consider a connection to a peer dead
62 * if we don't receive messages from the peer?
64 -#define GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 5)
65 +#define GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_YEARS, 5)
68 * How long do we delay reading more from a peer after a quota violation?
70 * even if we assume that the service commonly does not
71 * respond instantly (DNS, Database, etc.).
73 -#define GNUNET_CONSTANTS_SERVICE_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 10)
74 +#define GNUNET_CONSTANTS_SERVICE_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_YEARS, 10)
77 * How long do we delay messages to get larger packet sizes (CORKing)?