aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-01-29 17:28:07 -0600
committerJP Dillingham <jpdillingham@gmail.com>2022-01-29 17:28:07 -0600
commitc7ec3e01e8081ba1dc7fea07b282ce637f86ed9b (patch)
tree7a04f97539567ec997ec1d2815da8e722b9541fd
parent30dbbdd9abda76268980d39f208d5a8c270317e4 (diff)
downloadslskd-c7ec3e01e8081ba1dc7fea07b282ce637f86ed9b.tar.gz
remove governor
-rw-r--r--src/slskd/Application.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs
index 73818c09..f7510f2a 100644
--- a/src/slskd/Application.cs
+++ b/src/slskd/Application.cs
@@ -545,7 +545,7 @@ namespace slskd
// create a new cancellation token source so that we can cancel the upload from the UI.
var cts = new CancellationTokenSource();
- var topts = new TransferOptions(stateChanged: (e) => tracker.AddOrUpdate(e, cts), progressUpdated: (e) => tracker.AddOrUpdate(e, cts), governor: (t, c) => Task.Delay(1, c));
+ var topts = new TransferOptions(stateChanged: (e) => tracker.AddOrUpdate(e, cts), progressUpdated: (e) => tracker.AddOrUpdate(e, cts));
// accept all download requests, and begin the upload immediately. normally there would be an internal queue, and
// uploads would be handled separately.