From 559dd76fc7000774b9f836b459bab533bcc63820 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Tue, 7 Sep 2021 16:24:28 +0100 Subject: [PATCH] fix bandwidth property names --- core/src/main/groovy/com/muwire/core/Core.groovy | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/src/main/groovy/com/muwire/core/Core.groovy b/core/src/main/groovy/com/muwire/core/Core.groovy index 51aa1e19..de0bda57 100644 --- a/core/src/main/groovy/com/muwire/core/Core.groovy +++ b/core/src/main/groovy/com/muwire/core/Core.groovy @@ -223,8 +223,10 @@ public class Core { Properties routerProps = new Properties() routerProps.setProperty("i2p.dir.config", home.getAbsolutePath()) routerProps.setProperty("router.excludePeerCaps", i2pOptions["router.excludePeerCaps"]) - routerProps.setProperty("i2np.inboundKBytesPerSecond", String.valueOf(props.inBw)) - routerProps.setProperty("i2np.outboundKBytesPerSecond", String.valueOf(props.outBw)) + routerProps.setProperty("i2np.bandwidth.inboundKBytesPerSecond", String.valueOf(props.inBw)) + routerProps.setProperty("i2np.bandwidth.inboundBurstKBytesPerSecond", String.valueOf(props.inBw)) + routerProps.setProperty("i2np.bandwidth.outboundKBytesPerSecond", String.valueOf(props.outBw)) + routerProps.setProperty("i2np.bandwidth.outboundBurstKBytesPerSecond", String.valueOf(props.outBw)) routerProps.setProperty("router.sharePercentage", String.valueOf(props.sharePercentage)) routerProps.setProperty("i2cp.disableInterface", "true") routerProps.setProperty("i2np.ntcp.nodelay", "true")