mirror of
https://github.com/monero-project/monero.git
synced 2025-06-22 19:34:08 -04:00
2014 network limit 1.3 fix log/path/data +utils
+toc -doc -drmonero Fixed the windows path, and improved logging and data (for graph) logging, fixed some locks and added more checks. Still there is a locking error, not added by my patches, but present in master version (locking of map/list of peers).
This commit is contained in:
parent
ae2a50659f
commit
0198ffb220
19 changed files with 306 additions and 110 deletions
src/p2p
|
@ -272,6 +272,7 @@ void connection_basic::logger_handle_net_write(size_t size) {
|
|||
}
|
||||
|
||||
double connection_basic::get_sleep_time(size_t cb) {
|
||||
CRITICAL_REGION_LOCAL(epee::net_utils::network_throttle_manager::network_throttle_manager::m_lock_get_global_throttle_out);
|
||||
auto t = network_throttle_manager::get_global_throttle_out().get_sleep_time(cb);
|
||||
return t;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue