set activity when actually uploading
This commit is contained in:
parent
85bc8ebc87
commit
e5a199d813
|
@ -540,7 +540,11 @@ writeBegin:
|
|||
|
||||
date = tr_date();
|
||||
peer->outDate = date;
|
||||
tor->activityDate = date;
|
||||
|
||||
if( tr_peerAmInterested( peer ) && !tr_peerIsChoking( peer ) )
|
||||
{
|
||||
tor->activityDate = date;
|
||||
}
|
||||
|
||||
/* In case this block is done, you may have messages
|
||||
pending. Send them before we start the next block */
|
||||
|
|
Loading…
Reference in New Issue