From 3939ab6c9d7a0d278badc5b1623235d4033074aa Mon Sep 17 00:00:00 2001 From: sapier Date: Sun, 18 May 2014 16:48:17 +0200 Subject: [PATCH] Remove settings not used any longer --- minetest.conf.example | 5 ----- src/defaultsettings.cpp | 3 --- 2 files changed, 8 deletions(-) diff --git a/minetest.conf.example b/minetest.conf.example index f722286c..44bd3410 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -341,11 +341,6 @@ #dedicated_server_step = 0.1 # Can be set to true to disable shutting down on invalid world data #ignore_world_load_errors = false -# Congestion control parameters -# time in seconds, rate in ~500B packets -#congestion_control_aim_rtt = 0.2 -#congestion_control_max_rate = 400 -#congestion_control_min_rate = 10 # Specifies URL from which client fetches media instead of using UDP # $filename should be accessible from $remote_media$filename via cURL # (obviously, remote_media should end with a slash) diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 6ba7057b..a2d0a4c4 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -228,9 +228,6 @@ void set_default_settings(Settings *settings) settings->setDefault("full_block_send_enable_min_time_from_building", "2.0"); settings->setDefault("dedicated_server_step", "0.1"); settings->setDefault("ignore_world_load_errors", "false"); - settings->setDefault("congestion_control_aim_rtt", "0.2"); - settings->setDefault("congestion_control_max_rate", "400"); - settings->setDefault("congestion_control_min_rate", "10"); settings->setDefault("remote_media", ""); settings->setDefault("debug_log_level", "2"); settings->setDefault("emergequeue_limit_total", "256"); -- 2.30.2