You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have encountered an issue with ratio tracking in the event that users are seeding from multiple BitTorrent clients. I think that this is caused by ratio for each torrent being tracked only by userId, and conflicting information between multiple clients under the same userId were causing the upload/download to increase indefinitely.
I was able to fix this issue by adding a peerId field to the schema:
Since making these changes it seems that ratio has been tracked correctly.
A possible issue with this is that the Peer ID changes when a BitTorrent client is restarted, and I believe some clients also change their Peer ID during runtime occasionally which could lead to a large amount of entries over time.
The text was updated successfully, but these errors were encountered:
I have encountered an issue with ratio tracking in the event that users are seeding from multiple BitTorrent clients. I think that this is caused by ratio for each torrent being tracked only by
userId
, and conflicting information between multiple clients under the sameuserId
were causing the upload/download to increase indefinitely.I was able to fix this issue by adding a
peerId
field to the schema:And updating the announce API endpoint as follows:
Since making these changes it seems that ratio has been tracked correctly.
A possible issue with this is that the Peer ID changes when a BitTorrent client is restarted, and I believe some clients also change their Peer ID during runtime occasionally which could lead to a large amount of entries over time.
The text was updated successfully, but these errors were encountered: