1
0
mirror of https://github.com/veggiedefender/torrent-client.git synced 2025-11-06 09:29:16 +02:00

Fix unit in comment about block size

This commit is contained in:
Jesse
2019-12-29 22:47:32 -05:00
parent 23f3a144af
commit 46b55339aa

View File

@@ -108,7 +108,7 @@ func attemptDownloadPiece(c *client, pw *pieceWork) ([]byte, error) {
}
// Setting a deadline helps get unresponsive peers unstuck.
// 30 seconds is more than enough time to download 16 Kb
// 30 seconds is more than enough time to download 16 KB
c.conn.SetDeadline(time.Now().Add(30 * time.Second))
defer c.conn.SetDeadline(time.Time{}) // Disable the deadline