From a32b73b3f7165492568dbf7bf6663b5c369034db Mon Sep 17 00:00:00 2001 From: Yumikiyo Osanai Date: Mon, 5 Sep 2016 16:07:36 +0900 Subject: [PATCH] Update RateLimits comment GitHub search API ratelimits are changed recently. Reference: https://developer.github.com/v3/search/#rate-limit Rate limit for unauthenticated requests change from 5 to 10 per minute. And, rate limit for authenticated requests change from 20 to 30 per minute. Signed-off-by: Yumikiyo Osanai --- github/github.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/github/github.go b/github/github.go index 8448982..6da27b1 100644 --- a/github/github.go +++ b/github/github.go @@ -611,8 +611,8 @@ type RateLimits struct { Core *Rate `json:"core"` // The rate limit for search API requests. Unauthenticated requests - // are limited to 5 requests per minutes. Authenticated requests are - // limited to 20 per minute. + // are limited to 10 requests per minutes. Authenticated requests are + // limited to 30 per minute. // // GitHub API docs: https://developer.github.com/v3/search/#rate-limit Search *Rate `json:"search"`