diff options
Diffstat (limited to 'contrib/transpot_delay.patch')
-rw-r--r-- | contrib/transpot_delay.patch | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/contrib/transpot_delay.patch b/contrib/transpot_delay.patch deleted file mode 100644 index 9ba806960..000000000 --- a/contrib/transpot_delay.patch +++ /dev/null | |||
@@ -1,77 +0,0 @@ | |||
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) | ||
5 | @@ -65,7 +65,7 @@ | ||
6 | * send 3 keepalives in each interval, so 3 messages would need to be | ||
7 | * lost in a row for a disconnect). | ||
8 | */ | ||
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) | ||
11 | |||
12 | /** | ||
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) | ||
18 | @@ -42,7 +42,7 @@ | ||
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. | ||
21 | */ | ||
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) | ||
24 | |||
25 | /** | ||
26 | * After how long do we expire an address in a HELLO that we just | ||
27 | @@ -57,24 +57,24 @@ | ||
28 | * we cannot validate (because after this time we can destroy the | ||
29 | * validation record). | ||
30 | */ | ||
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) | ||
33 | |||
34 | /** | ||
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. | ||
38 | */ | ||
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) | ||
41 | |||
42 | /** | ||
43 | * How often do we PING an address that we are currently using? | ||
44 | */ | ||
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) | ||
47 | |||
48 | /** | ||
49 | * How much delay is acceptable for sending the PING or PONG? | ||
50 | */ | ||
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) | ||
53 | |||
54 | /** | ||
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) | ||
60 | @@ -49,7 +49,7 @@ | ||
61 | * After how long do we consider a connection to a peer dead | ||
62 | * if we don't receive messages from the peer? | ||
63 | */ | ||
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) | ||
66 | |||
67 | /** | ||
68 | * How long do we delay reading more from a peer after a quota violation? | ||
69 | @@ -61,7 +61,7 @@ | ||
70 | * even if we assume that the service commonly does not | ||
71 | * respond instantly (DNS, Database, etc.). | ||
72 | */ | ||
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) | ||
75 | |||
76 | /** | ||
77 | * How long do we delay messages to get larger packet sizes (CORKing)? | ||