diff options
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.c | 12 | ||||
-rw-r--r-- | src/transport/test_transport_api.c | 2 |
2 files changed, 4 insertions, 10 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index 49b026e7a..5fe2f5645 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c | |||
@@ -59,7 +59,7 @@ | |||
59 | /** | 59 | /** |
60 | * How long are we willing to wait for a response from ATS before timing out? | 60 | * How long are we willing to wait for a response from ATS before timing out? |
61 | */ | 61 | */ |
62 | #define ATS_RESPONSE_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 5000) | 62 | #define ATS_RESPONSE_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) |
63 | 63 | ||
64 | /** | 64 | /** |
65 | * How long are we willing to wait for an ACK from the other peer before | 65 | * How long are we willing to wait for an ACK from the other peer before |
@@ -73,18 +73,12 @@ | |||
73 | * usual SETUP_CONNECTION_TIMEOUT as we do not inform the | 73 | * usual SETUP_CONNECTION_TIMEOUT as we do not inform the |
74 | * higher layers about the disconnect during this period. | 74 | * higher layers about the disconnect during this period. |
75 | */ | 75 | */ |
76 | #define FAST_RECONNECT_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 1) | 76 | #define FAST_RECONNECT_TIMEOUT GNUNET_TIME_UNIT_SECONDS |
77 | |||
78 | /** | ||
79 | * How long are we willing to wait for a response from the blacklist | ||
80 | * subsystem before timing out? | ||
81 | */ | ||
82 | #define BLACKLIST_RESPONSE_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 500) | ||
83 | 77 | ||
84 | /** | 78 | /** |
85 | * Interval to send utilization data | 79 | * Interval to send utilization data |
86 | */ | 80 | */ |
87 | #define UTIL_TRANSMISSION_INTERVAL GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 1) | 81 | #define UTIL_TRANSMISSION_INTERVAL GNUNET_TIME_UNIT_SECONDS |
88 | 82 | ||
89 | /** | 83 | /** |
90 | * State describing which kind a reply this neighbour should send | 84 | * State describing which kind a reply this neighbour should send |
diff --git a/src/transport/test_transport_api.c b/src/transport/test_transport_api.c index 239ecdfed..ce6db8ad1 100644 --- a/src/transport/test_transport_api.c +++ b/src/transport/test_transport_api.c | |||
@@ -33,7 +33,7 @@ | |||
33 | /** | 33 | /** |
34 | * How long until we give up on transmitting the message? | 34 | * How long until we give up on transmitting the message? |
35 | */ | 35 | */ |
36 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 600) | 36 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 120) |
37 | 37 | ||
38 | /** | 38 | /** |
39 | * How long until we give up on transmitting the message? | 39 | * How long until we give up on transmitting the message? |