diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-10-26 18:11:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-10-26 18:11:05 +0000 |
commit | 2af25b50fc8d589e2cb1b40bfc11cf1a7e70678d (patch) | |
tree | 3452cc6d4f2370bf2cb7b723c19a12168a0e78f8 /src/transport | |
parent | be98885538291da444b6558f9168e59ac5183440 (diff) | |
download | gnunet-2af25b50fc8d589e2cb1b40bfc11cf1a7e70678d.tar.gz gnunet-2af25b50fc8d589e2cb1b40bfc11cf1a7e70678d.zip |
-document quota, use higher quota for test
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/test_transport_api_reliability_udp_peer1.conf | 5 | ||||
-rw-r--r-- | src/transport/test_transport_api_reliability_udp_peer2.conf | 5 | ||||
-rw-r--r-- | src/transport/transport.conf.in | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/src/transport/test_transport_api_reliability_udp_peer1.conf b/src/transport/test_transport_api_reliability_udp_peer1.conf index d16be3b20..34e4d7eea 100644 --- a/src/transport/test_transport_api_reliability_udp_peer1.conf +++ b/src/transport/test_transport_api_reliability_udp_peer1.conf | |||
@@ -4,7 +4,8 @@ GNUNET_TEST_HOME = /tmp/test-transport/api-udp-p1/ | |||
4 | 4 | ||
5 | [transport-udp] | 5 | [transport-udp] |
6 | PORT = 12040 | 6 | PORT = 12040 |
7 | MAX_BPS = 5000000 | 7 | # Override 1MB/s default limit. |
8 | MAX_BPS = 500000000 | ||
8 | 9 | ||
9 | [arm] | 10 | [arm] |
10 | PORT = 12045 | 11 | PORT = 12045 |
@@ -26,5 +27,3 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerinfo.sock | |||
26 | PORT = 12041 | 27 | PORT = 12041 |
27 | PLUGINS = udp | 28 | PLUGINS = udp |
28 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock | 29 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock |
29 | |||
30 | |||
diff --git a/src/transport/test_transport_api_reliability_udp_peer2.conf b/src/transport/test_transport_api_reliability_udp_peer2.conf index a7e6a57fb..23eae7862 100644 --- a/src/transport/test_transport_api_reliability_udp_peer2.conf +++ b/src/transport/test_transport_api_reliability_udp_peer2.conf | |||
@@ -4,7 +4,8 @@ GNUNET_TEST_HOME = /tmp/test-transport/api-udp-p2/ | |||
4 | 4 | ||
5 | [transport-udp] | 5 | [transport-udp] |
6 | PORT = 12050 | 6 | PORT = 12050 |
7 | MAX_BPS = 5000000 | 7 | # Override 1MB/s default limit. |
8 | MAX_BPS = 500000000 | ||
8 | 9 | ||
9 | [arm] | 10 | [arm] |
10 | PORT = 12055 | 11 | PORT = 12055 |
@@ -26,5 +27,3 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-peerinfo.sock | |||
26 | PORT = 12051 | 27 | PORT = 12051 |
27 | PLUGINS = udp | 28 | PLUGINS = udp |
28 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock | 29 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock |
29 | |||
30 | |||
diff --git a/src/transport/transport.conf.in b/src/transport/transport.conf.in index 82effb235..95e3f9944 100644 --- a/src/transport/transport.conf.in +++ b/src/transport/transport.conf.in | |||
@@ -61,6 +61,11 @@ PORT = 2086 | |||
61 | BROADCAST = YES | 61 | BROADCAST = YES |
62 | BROADCAST_RECEIVE = YES | 62 | BROADCAST_RECEIVE = YES |
63 | BROADCAST_INTERVAL = 30 s | 63 | BROADCAST_INTERVAL = 30 s |
64 | |||
65 | # This limits UDP to 1MB/s for SENDING. Higher values are advised | ||
66 | # for benchmarking or well-connected systems. Note that this quota | ||
67 | # applies IN ADDITION to the system-wide transport-wide WAN/LAN | ||
68 | # quotas. | ||
64 | MAX_BPS = 1000000 | 69 | MAX_BPS = 1000000 |
65 | TESTING_IGNORE_KEYS = ACCEPT_FROM; | 70 | TESTING_IGNORE_KEYS = ACCEPT_FROM; |
66 | 71 | ||