From e6ca0002ca73ee5e6ba87fdc669d5c0c3e8327a7 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 30 Jan 2022 21:12:23 -0600 Subject: rename method --- src/slskd/Application.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/slskd/Application.cs') 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 -- cgit v1.2.3