mirror of
https://github.com/monero-project/monero.git
synced 2026-06-12 19:11:36 -07:00
epee: remove save_limit_to_file
This commit is contained in:
@@ -184,7 +184,6 @@ class connection_basic { // not-templated base class for rapid developmet of som
|
||||
|
||||
// handlers and sleep
|
||||
void sleep_before_packet(size_t packet_size, int phase, int q_len); // execute a sleep ; phase is not really used now(?)
|
||||
static void save_limit_to_file(int limit); ///< for dr-monero
|
||||
static double get_sleep_time(size_t cb);
|
||||
};
|
||||
|
||||
|
||||
@@ -182,7 +182,6 @@ void connection_basic::set_rate_up_limit(uint64_t limit) {
|
||||
CRITICAL_REGION_LOCAL( network_throttle_manager::m_lock_get_global_throttle_out );
|
||||
network_throttle_manager::get_global_throttle_out().set_target_speed(limit);
|
||||
}
|
||||
save_limit_to_file(limit);
|
||||
}
|
||||
|
||||
void connection_basic::set_rate_down_limit(uint64_t limit) {
|
||||
@@ -195,7 +194,6 @@ void connection_basic::set_rate_down_limit(uint64_t limit) {
|
||||
CRITICAL_REGION_LOCAL( network_throttle_manager::m_lock_get_global_throttle_inreq );
|
||||
network_throttle_manager::get_global_throttle_inreq().set_target_speed(limit);
|
||||
}
|
||||
save_limit_to_file(limit);
|
||||
}
|
||||
|
||||
uint64_t connection_basic::get_rate_up_limit() {
|
||||
@@ -215,9 +213,6 @@ uint64_t connection_basic::get_rate_down_limit() {
|
||||
}
|
||||
return limit;
|
||||
}
|
||||
|
||||
void connection_basic::save_limit_to_file(int limit) {
|
||||
}
|
||||
|
||||
void connection_basic::set_tos_flag(int tos) {
|
||||
connection_basic_pimpl::m_default_tos = tos;
|
||||
|
||||
Reference in New Issue
Block a user