We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 824f681 + cef2a97 commit 1c273b9Copy full SHA for 1c273b9
1 file changed
server/services/Neptune/clientGatewayService.ts
@@ -267,7 +267,7 @@ class NeptuneClientGatewayService extends ClientGatewayService {
267
);
268
269
const isComplete = torrent.state === 'Seeding';
270
- const isActive = torrent.state === 'Downloading' || torrent.state === 'Seeding';
+ const isActive = torrent.upload_rate > 0 && torrent.download_rate > 0;
271
272
const trackerErrorMessages = Object.values(torrent.tracker_errors ?? {}).filter(Boolean);
273
const trackerMessage = trackerErrorMessages.find((m) => m.length > 0) ?? '';
0 commit comments