rate limit outstanding-disk performance warnings. don't throttle reading form peers because of disk congestion if the peer isn't downloading payload. Don't time out peers that are not waiting on the network

This commit is contained in:
Arvid Norberg
2011-01-23 02:09:54 +00:00
parent de28a57954
commit 021a774168
3 changed files with 13 additions and 4 deletions

View File

@@ -499,6 +499,7 @@ namespace aux {
, m_created(time_now_hires())
, m_last_tick(m_created)
, m_last_second_tick(m_created - milliseconds(900))
, m_last_disk_performance_warning(min_time())
, m_last_choke(m_created)
, m_next_rss_update(min_time())
#ifndef TORRENT_DISABLE_DHT