get more conservative with twelvedata
All checks were successful
Generic zig build / build (push) Successful in 27s

This commit is contained in:
Emil Lerch 2026-03-11 16:03:23 -07:00
parent 7ba1df8ba9
commit d0c13847f5
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -28,7 +28,9 @@ pub const TwelveData = struct {
return .{
.api_key = api_key,
.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,
};
}