Skip to content

Add update timeout for modifiedRepos #204

@benhatsor

Description

@benhatsor

If modRepo branch data (repoObj.branches) is older than a day, update it.
If modRepo data (repoObj.isPrivate) is older than two months, update it.
Keep track of this via a repoObj.branchExpiration variable which saves the Epoch time (new Date().getTime()).

Metadata

Metadata

Assignees

No one assigned

    Labels

    gitRelated to Git/GithubinvalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions