From c7ec3e01e8081ba1dc7fea07b282ce637f86ed9b Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 29 Jan 2022 17:28:07 -0600 Subject: remove governor --- src/slskd/Application.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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. -- cgit v1.2.3