Skip to content

Add Support for in memory caching #816

@bmike78

Description

@bmike78

Prerequisites:

  • Is the functionality available in the GitHub UI? If so, please provide a link to information about the feature.
    • technically this is a feature of the safe settings and caching frequently used github API calls

New Feature

  • We run a forked copy of safe settings and would like to provide some contributions upstream to be at parity with main-enterprise.

  • We run safe settings at a very large scale of several hundred repos today, but technically have it enabled for several thousand repos.

  • We are constantly rate limited by the github API and so we've added a simple caching layer, which resulted in about 96-97% of repo contents being cached and got us past our rate limit issues of the endpoint of "/repositories/:repository_id/contents/?"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions