This commit is contained in:
Greg Pomerantz 2025-01-26 11:27:36 -05:00
commit 94d448e905

View File

@ -37,7 +37,7 @@ func get_(symbol string) (error) {
return err
}
switch resp.StatusCode {
case 401, 429:
case 401, 429, 500:
throttle = true
return fmt.Errorf("%s", resp.Status)
err_(symbol,0) // do not limit retries