blob: fda7ec7eb7442e09e066a7e083d8bd5cb3e6e477 [file] [log] [blame] [view]
This plugin allows to enforce quotas in Gerrit.
To protect a Gerrit installation it makes sense to limit the resources
that a project or group can consume. To do this a Gerrit administrator
can use this plugin to define quotas on project namespaces and define
rate limits per user group.
The @PLUGIN@ plugin supports the following quotas:
* Maximum number of projects in a namespace
* The maximum total file size of a repository in a namespace
* The maximum total file size of all repositories in a namespace
The measured repository sizes can be published periodically to registered
UsageDataPublishedListeners.
The @PLUGIN@ plugin supports the following rate limits:
* `uploadpack` requests which are executed when a client runs a fetch command.
* Maximum number of REST API calls
Rate limits define the maximum request rate for users in a given group
for a given request type.