diff options
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.c')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.c | 12 |
1 files changed, 3 insertions, 9 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 |