get more conservative with twelvedata
All checks were successful
Generic zig build / build (push) Successful in 27s
All checks were successful
Generic zig build / build (push) Successful in 27s
This commit is contained in:
parent
7ba1df8ba9
commit
d0c13847f5
1 changed files with 3 additions and 1 deletions
|
|
@ -28,7 +28,9 @@ pub const TwelveData = struct {
|
||||||
return .{
|
return .{
|
||||||
.api_key = api_key,
|
.api_key = api_key,
|
||||||
.client = http.Client.init(allocator),
|
.client = http.Client.init(allocator),
|
||||||
.rate_limiter = RateLimiter.perMinute(8),
|
// Provider is 8/min, but we seem to be bumping against it, so we
|
||||||
|
// will be a bit more conservative here. Slow and steady
|
||||||
|
.rate_limiter = RateLimiter.perMinute(7),
|
||||||
.allocator = allocator,
|
.allocator = allocator,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue