commit cd5e9378ad30e02865ca7d25a8594f69c2dd9914
parent cad69e3de7f4f69a127d237ac7e1f134f9bc13f8
Author: Olivier Jacques <ojacques2@gmail.com>
Date: Wed, 19 Jul 2017 14:24:30 +0200
Slower rate for GitHub API requests
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.js b/index.js
@@ -45,8 +45,8 @@ program
// abuse rate limits apply for concurrent content creation
// requests by a single GitHub user.
- var limiter = new Bottleneck(20,200);
-
+ var limiter = new Bottleneck(5,500);
+
// OAuth2
github.authenticate({
type: "oauth",