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_atupdate interval configurable - Query / refresh
last_activity_ateagerly on API calls
Edited by Christina Lohr