Commit d7bbc078 authored by Doug Stull's avatar Doug Stull

Increase file import size validator timeout

- we are hitting the threshold timeout on
  compressed size check for files below 10gb
  so we should increase the time `gzip` has to figure this out
- It would be nice if we didn't care about the time or
  if we weren't so cpu bound(could use pgzip or such)

Changelog: fixed
parent bcbea92f
......@@ -6,7 +6,7 @@ module Gitlab
include Gitlab::Utils::StrongMemoize
DEFAULT_MAX_BYTES = 10.gigabytes.freeze
TIMEOUT_LIMIT = 60.seconds
TIMEOUT_LIMIT = 210.seconds
def initialize(archive_path:, max_bytes: self.class.max_bytes)
@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