Skip to content

Doc question #453

@weilinzung

Description

@weilinzung

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions