mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-23 14:22:55 +00:00
Update RateLimiterTotal.cs
This commit is contained in:
@@ -31,7 +31,7 @@ namespace CryptoExchange.Net.RateLimiter
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <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();
|
var sw = Stopwatch.StartNew();
|
||||||
lock (requestLock)
|
lock (requestLock)
|
||||||
|
|||||||
Reference in New Issue
Block a user