Skip to content

Set longer SSHUploadPack timeout for replication

John Cai requested to merge jc-increase-ssh-uploadpack-timeout into master

In some situations, we want to set a custom timeout for an upload pack request. ReplicateRepository in particular can take a long time in the negotiation phase of upload-pack. It'd be useful to set a more relaxed time limit for ReplicateRepository.Expose a new field timeout_seconds that allows for this, and pass in the value from ReplicateRepository all the way through the GITALY_PAYLOAD in gitaly-ssh.

Changelog: added

Edited by John Cai

Merge request reports