Skip to content

Add configurable timeout for git fetch and clone operations

username-removed-444214 requested to merge mrchrisw-import-shell-timeout into master

What does this MR do?

Adds a configuration option for gitlab-shell fetch/clone operations

Are there points in the code the reviewer needs to double check?

  • specs
  • config name

Why was this MR needed?

Hardcoding a timeout is bad practise. Large imports like https://chromium.googlesource.com/chromium/src.git can timeout after 800 seconds (13mins) due to network speed or other factors.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports