Remove EverySeconds(), reduce rate limit

This commit is contained in:
Ian Gulliver
2021-09-28 05:05:57 +00:00
parent d82b945668
commit 38856c9b39
3 changed files with 17 additions and 36 deletions

View File

@@ -38,7 +38,7 @@ type nextPage struct {
func NewClient(token string) *Client {
c := &Client{
client: &http.Client{},
rateLimit: NewRateLimitPerMinute(1500, 1500),
rateLimit: NewRateLimitPerMinute(600, 10),
concurrencyLimitRead: NewConcurrencyLimit(50),
concurrencyLimitWrite: NewConcurrencyLimit(15),
}