Replace "seeding_duration" with "finished_duration" everywhere

Closes #10223.
PR #13601.
This commit is contained in:
thalieht 2022-01-07 09:22:51 +02:00 committed by GitHub
parent d6fc020ba7
commit d3bdeaab3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 7 additions and 15 deletions

View file

@ -1651,7 +1651,7 @@ void Session::processShareLimits()
if (torrent->seedingTimeLimit() != Torrent::NO_SEEDING_TIME_LIMIT)
{
const qlonglong seedingTimeInMinutes = torrent->seedingTime() / 60;
const qlonglong seedingTimeInMinutes = torrent->finishedTime() / 60;
int seedingTimeLimit = torrent->seedingTimeLimit();
if (seedingTimeLimit == Torrent::USE_GLOBAL_SEEDING_TIME)
{