This commit is contained in:
gmp
2025-01-26 11:27:36 -05:00
+1 -1
View File
@@ -37,7 +37,7 @@ func get_(symbol string) (error) {
return err return err
} }
switch resp.StatusCode { switch resp.StatusCode {
case 401, 429: case 401, 429, 500:
throttle = true throttle = true
return fmt.Errorf("%s", resp.Status) return fmt.Errorf("%s", resp.Status)
err_(symbol,0) // do not limit retries err_(symbol,0) // do not limit retries