aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Application.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-01-30 21:12:23 -0600
committerJP Dillingham <jpdillingham@gmail.com>2022-01-30 21:12:23 -0600
commite6ca0002ca73ee5e6ba87fdc669d5c0c3e8327a7 (patch)
tree4b934b17dc8e24066f16ae6d3e1d9afff9615f05 /src/slskd/Application.cs
parentd592695e40b23e4bffbea2651313c2f674a19ec3 (diff)
downloadslskd-e6ca0002ca73ee5e6ba87fdc669d5c0c3e8327a7.tar.gz
rename method
Diffstat (limited to 'src/slskd/Application.cs')
-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 1d3d1b33..d1257b21 100644
--- a/src/slskd/Application.cs
+++ b/src/slskd/Application.cs
@@ -554,7 +554,7 @@ namespace slskd
var topts = new TransferOptions(
stateChanged: (e) => tracker.AddOrUpdate(e, cts),
progressUpdated: (e) => tracker.AddOrUpdate(e, cts),
- governor: (tx, req, ct) => Governor.GetBytes(tx, req, ct),
+ governor: (tx, req, ct) => Governor.GetBytesAsync(tx, req, ct),
reporter: (tx, att, grant, act) => Governor.ReturnBytes(tx, att, grant, act));
// accept all download requests, and begin the upload immediately. normally there would be an internal queue, and