diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2022-01-29 17:28:07 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2022-01-29 17:28:07 -0600 |
| commit | c7ec3e01e8081ba1dc7fea07b282ce637f86ed9b (patch) | |
| tree | 7a04f97539567ec997ec1d2815da8e722b9541fd /src | |
| parent | 30dbbdd9abda76268980d39f208d5a8c270317e4 (diff) | |
| download | slskd-c7ec3e01e8081ba1dc7fea07b282ce637f86ed9b.tar.gz | |
remove governor
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Application.cs | 2 |
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. |
