mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-06-10 01:16:24 +00:00
Update RateLimiterTotal.cs
This commit is contained in:
parent
ad4c6e6a20
commit
6d2b75ed4c
@ -31,7 +31,7 @@ namespace CryptoExchange.Net.RateLimiter
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public CallResult<double> LimitRequest(RestClient client, string url, RateLimitingBehaviour limitBehaviour)
|
||||
public CallResult<double> LimitRequest(RestClient client, string url, RateLimitingBehaviour limitBehaviour, int credits = 1)
|
||||
{
|
||||
var sw = Stopwatch.StartNew();
|
||||
lock (requestLock)
|
||||
|
Loading…
x
Reference in New Issue
Block a user