Commit 09930f5c authored by Jarka Košanová's avatar Jarka Košanová

Merge branch 'increase-import-file-validation-timeout' into 'master'

Increase file import size validator timeout

See merge request gitlab-org/gitlab!73400
parents f39fff7b d7bbc078
...@@ -6,7 +6,7 @@ module Gitlab ...@@ -6,7 +6,7 @@ module Gitlab
include Gitlab::Utils::StrongMemoize include Gitlab::Utils::StrongMemoize
DEFAULT_MAX_BYTES = 10.gigabytes.freeze DEFAULT_MAX_BYTES = 10.gigabytes.freeze
TIMEOUT_LIMIT = 60.seconds TIMEOUT_LIMIT = 210.seconds
def initialize(archive_path:, max_bytes: self.class.max_bytes) def initialize(archive_path:, max_bytes: self.class.max_bytes)
@archive_path = archive_path @archive_path = archive_path
......
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