Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4a22318a
Commit
4a22318a
authored
Mar 10, 2020
by
George Koltsov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update project import limit
parent
4308790b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
changelogs/unreleased/georgekoltsov-bump-project-import-limit.yml
...gs/unreleased/georgekoltsov-bump-project-import-limit.yml
+5
-0
doc/user/project/settings/import_export.md
doc/user/project/settings/import_export.md
+1
-1
lib/gitlab/application_rate_limiter.rb
lib/gitlab/application_rate_limiter.rb
+1
-1
No files found.
changelogs/unreleased/georgekoltsov-bump-project-import-limit.yml
0 → 100644
View file @
4a22318a
---
title
:
Update Project Import API rate limit
merge_request
:
26903
author
:
type
:
other
doc/user/project/settings/import_export.md
View file @
4a22318a
...
@@ -142,4 +142,4 @@ To help avoid abuse, users are rate limited to:
...
@@ -142,4 +142,4 @@ To help avoid abuse, users are rate limited to:
| ---------------- | --------------------------- |
| ---------------- | --------------------------- |
| Export | 1 project per 5 minutes |
| Export | 1 project per 5 minutes |
| Download export | 10 projects per 10 minutes |
| Download export | 10 projects per 10 minutes |
| Import | 30 projects per
10
minutes |
| Import | 30 projects per
5
minutes |
lib/gitlab/application_rate_limiter.rb
View file @
4a22318a
...
@@ -23,7 +23,7 @@ module Gitlab
...
@@ -23,7 +23,7 @@ module Gitlab
project_download_export:
{
threshold:
10
,
interval:
10
.
minutes
},
project_download_export:
{
threshold:
10
,
interval:
10
.
minutes
},
project_repositories_archive:
{
threshold:
5
,
interval:
1
.
minute
},
project_repositories_archive:
{
threshold:
5
,
interval:
1
.
minute
},
project_generate_new_export:
{
threshold:
1
,
interval:
5
.
minutes
},
project_generate_new_export:
{
threshold:
1
,
interval:
5
.
minutes
},
project_import:
{
threshold:
30
,
interval:
10
.
minutes
},
project_import:
{
threshold:
30
,
interval:
5
.
minutes
},
play_pipeline_schedule:
{
threshold:
1
,
interval:
1
.
minute
},
play_pipeline_schedule:
{
threshold:
1
,
interval:
1
.
minute
},
show_raw_controller:
{
threshold:
->
{
Gitlab
::
CurrentSettings
.
current_application_settings
.
raw_blob_request_limit
},
interval:
1
.
minute
}
show_raw_controller:
{
threshold:
->
{
Gitlab
::
CurrentSettings
.
current_application_settings
.
raw_blob_request_limit
},
interval:
1
.
minute
}
}.
freeze
}.
freeze
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment