Make project.last_activity_at refresh interval configurable

Description

A GitLab EE user want to query the projects API and check the last_activity_at attribute to see if the project has been updated. Currently, due to throttling (see gitlab-ce#22213), this attribute is updated once every hour and this duration is hard-coded. The alternative is to make 3 API calls for tags, branches and commits to see if the project was updated.

Proposal

  • Make last_activity_at update interval configurable
  • Query / refresh last_activity_at eagerly on API calls
Edited Mar 12, 2024 by Christina Lohr
Assignee Loading
Time tracking Loading