aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Application.cs
diff options
context:
space:
mode:
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