aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-10-03 16:16:34 -0500
committerJP Dillingham <jp@dillingham.me>2026-10-03 16:16:34 -0500
commit4e40b1935624a1ff4d436544cc44cdf64aefbaf9 (patch)
tree25da88ab4ea06a15ad244273ac9fae6cef658baa /src
parent767221c5ba23d49778b5aba478ade61b264dbe31 (diff)
downloadslskd-4e40b1935624a1ff4d436544cc44cdf64aefbaf9.tar.gz
add remark about position estimation
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Transfers/Uploads/UploadQueue.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/slskd/Transfers/Uploads/UploadQueue.cs b/src/slskd/Transfers/Uploads/UploadQueue.cs
index d0f2815f..fa3bb68c 100644
--- a/src/slskd/Transfers/Uploads/UploadQueue.cs
+++ b/src/slskd/Transfers/Uploads/UploadQueue.cs
@@ -306,6 +306,11 @@ namespace slskd.Transfers.Uploads
/// <summary>
/// Computes the estimated queue position of the specified <paramref name="filename"/> for the specified <paramref name="username"/>.
/// </summary>
+ /// <remarks>
+ /// The returned position is relative to the user's group only. Higher priority groups are not factored in
+ /// because of the amount of data that would need to be processed to compute a number, and how variable it
+ /// would be due to the interplay of slot availability, number of higher priority users waiting, etc.
+ /// </remarks>
/// <param name="username">The username associated with the file.</param>
/// <param name="filename">The filename of the file for which the position is to be estimated.</param>
/// <returns>The estimated queue position of the file.</returns>