gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: -fix: increase quotas due to increased m


From: gnunet
Subject: [gnunet] branch master updated: -fix: increase quotas due to increased min value fix
Date: Tue, 07 Jul 2020 11:42:31 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 8d0c55ce5 -fix: increase quotas due to increased min value fix
8d0c55ce5 is described below

commit 8d0c55ce57abc11431ba8285d731f1f11c3f8592
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Tue Jul 7 11:36:46 2020 +0200

    -fix: increase quotas due to increased min value fix
---
 src/ats/plugin_ats_proportional.c   |  2 ++
 src/core/test_core_quota_peer1.conf | 69 ++++++++++++++++++-------------------
 src/core/test_core_quota_peer2.conf | 60 ++++++++++++++++----------------
 3 files changed, 65 insertions(+), 66 deletions(-)

diff --git a/src/ats/plugin_ats_proportional.c 
b/src/ats/plugin_ats_proportional.c
index f554291b6..52476c825 100644
--- a/src/ats/plugin_ats_proportional.c
+++ b/src/ats/plugin_ats_proportional.c
@@ -218,6 +218,8 @@ is_bandwidth_available_in_network (struct Network *net,
   if (((net->total_quota_in / na) > min_bw) &&
       ((net->total_quota_out / na) > min_bw))
     return GNUNET_YES;
+  LOG (GNUNET_ERROR_TYPE_DEBUG,
+       "No bandwidth available in network\n");
   return GNUNET_NO;
 }
 
diff --git a/src/core/test_core_quota_peer1.conf 
b/src/core/test_core_quota_peer1.conf
index ea4fa273c..ec592f778 100644
--- a/src/core/test_core_quota_peer1.conf
+++ b/src/core/test_core_quota_peer1.conf
@@ -1,61 +1,58 @@
 @INLINE@ test_core_defaults.conf
 [PATHS]
-GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-core-quota-sym-peer-1/
-
-[transport-tcp]
-PORT = 12468
+GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-core-peer-1/
 
 [arm]
-PORT = 12476
-UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-core-sym-p1-service-arm.sock
+PORT = 12460
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock
 
 [statistics]
-PORT = 12477
-UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-core-sym-p1-service-statistics.sock
+PORT = 12461
 
 [resolver]
-PORT = 12474
-UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-core-sym-p1-service-resolver.sock
+PORT = 12462
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-resolver.sock
 
 [peerinfo]
-PORT = 12479
-UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-core-sym-p1-service-peerinfo.sock
+PORT = 12463
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerinfo.sock
 
 [transport]
-PORT = 12475
-UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-core-sym-p1-service-transport.sock
+PORT = 12464
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock
 
-[nat]
-port = 12481
-UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-core-sym-p1-service-nat.sock
+[core]
+PORT = 12475
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-core.sock
 
 [ats]
-PORT = 12471
-UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-core-sym-p1-service-ats.sock
+PORT = 12476
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-ats.sock
 # UNSPECIFIED
-UNSPECIFIED_QUOTA_IN = 10240
-UNSPECIFIED_QUOTA_OUT = 10240
+UNSPECIFIED_QUOTA_IN = 10 MiB
+UNSPECIFIED_QUOTA_OUT = 10 MiB
 # LOOPBACK
-LOOPBACK_QUOTA_IN = 10240
-LOOPBACK_QUOTA_OUT = 10240
+LOOPBACK_QUOTA_IN = 10 MiB
+LOOPBACK_QUOTA_OUT = 10 MiB
 # LAN
-LAN_QUOTA_IN = 10240
-LAN_QUOTA_OUT = 10240
+LAN_QUOTA_IN = 10 MiB
+LAN_QUOTA_OUT = 10 MiB
 # WAN
-WAN_QUOTA_IN = 10240
-WAN_QUOTA_OUT = 10240
+WAN_QUOTA_IN = 10 MiB
+WAN_QUOTA_OUT = 10 MiB
 # WLAN
-WLAN_QUOTA_IN = 10240
-WLAN_QUOTA_OUT = 10240
+WLAN_QUOTA_IN = 10 MiB
+WLAN_QUOTA_OUT = 10 MiB
 
-[core]
-PORT = 12480
-UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-core-sym-p1-service-core.sock
 
-[ats]
-PORT = 12481
-UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-core-sym-p1-service-ats.sock
+[transport-tcp]
+PORT = 12467
 
 [transport-udp]
-PORT = 12482
+PORT = 12468
+
+[transport-unix]
+PORT = 12469
 
+[transport-http]
+PORT = 12470
diff --git a/src/core/test_core_quota_peer2.conf 
b/src/core/test_core_quota_peer2.conf
index 03c684cff..65d0710bb 100644
--- a/src/core/test_core_quota_peer2.conf
+++ b/src/core/test_core_quota_peer2.conf
@@ -1,53 +1,50 @@
 @INLINE@ test_core_defaults.conf
 [PATHS]
-GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-core-quota-sym-peer-2/
+GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-core-peer-2/
 
 [arm]
-PORT = 22476
-UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-core-sym-p2-service-arm.sock
+PORT = 22460
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock
 
 [statistics]
-PORT = 22477
-UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-core-sym-p2-service-statistics.sock
+PORT = 22461
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-statistics.sock
 
 [resolver]
-PORT = 22474
-UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-core-sym-p2-service-resolver.sock
+PORT = 22462
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-resolver.sock
 
 [peerinfo]
-PORT = 22479
-UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-core-sym-p2-service-peerinfo.sock
+PORT = 22463
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-peerinfo.sock
 
 [transport]
-PORT = 22475
-UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-core-sym-p2-service-transport.sock
+PORT = 22464
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock
 
 [core]
-PORT = 22480
-UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-core-sym-p2-service-core.sock
-
-[nat]
-PORT = 22481
-UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-core-sym-p2.service-nat.sock
+PORT = 22475
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-core.sock
 
 [ats]
-PORT = 22482
-UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-core-sym-p2-service-ats.sock
+PORT = 22476
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-ats.sock
 # UNSPECIFIED
-UNSPECIFIED_QUOTA_IN = 10240
-UNSPECIFIED_QUOTA_OUT = 10240
+UNSPECIFIED_QUOTA_IN = 10 MiB
+UNSPECIFIED_QUOTA_OUT = 10 MiB
 # LOOPBACK
-LOOPBACK_QUOTA_IN = 10240
-LOOPBACK_QUOTA_OUT = 10240
+LOOPBACK_QUOTA_IN = 10 MiB
+LOOPBACK_QUOTA_OUT = 10 MiB
 # LAN
-LAN_QUOTA_IN = 10240
-LAN_QUOTA_OUT = 10240
+LAN_QUOTA_IN = 10 MiB
+LAN_QUOTA_OUT = 10 MiB
 # WAN
-WAN_QUOTA_IN = 10240
-WAN_QUOTA_OUT = 10240
+WAN_QUOTA_IN = 10 MiB
+WAN_QUOTA_OUT = 10 MiB
 # WLAN
-WLAN_QUOTA_IN = 10240
-WLAN_QUOTA_OUT = 10240
+WLAN_QUOTA_IN = 10 MiB
+WLAN_QUOTA_OUT = 10 MiB
+
 
 [transport-tcp]
 PORT = 22467
@@ -55,5 +52,8 @@ PORT = 22467
 [transport-udp]
 PORT = 22468
 
-[transport-http]
+[transport-unix]
 PORT = 22469
+
+[transport-http]
+PORT = 22470

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]