Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc question #453

Open
weilinzung opened this issue Nov 23, 2021 · 0 comments
Open

Doc question #453

weilinzung opened this issue Nov 23, 2021 · 0 comments
Projects

Comments

@weilinzung
Copy link

weilinzung commented Nov 23, 2021

Hi,

Can somebody clarify this?

From the example, if I include both id and Bottleneck, then Redis is not supported?

...
    // A "throttling ID". All octokit instances with the same ID
    // using the same Redis server will share the throttling.
    id: "my-super-app",

    // Otherwise the plugin uses a lighter version of Bottleneck without Redis support
    Bottleneck

If remove Bottleneck, I would get the error Error: RedisDatastore$1 is not a constructor.

Thanks!

@ghost ghost added this to Inbox in JS Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
JS
  
Inbox
Development

No branches or pull requests

1 participant