Commit 4a22318a authored by George Koltsov's avatar George Koltsov

Update project import limit

parent 4308790b
---
title: Update Project Import API rate limit
merge_request: 26903
author:
type: other
...@@ -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 |
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment