force ConcurrentTransfers() to 1 for ntlm
This commit is contained in:
parent
41db1f922b
commit
a51a65542d
@ -79,8 +79,7 @@ Invalid LFS operation: "wat"
|
|||||||
HTTPS is strongly encouraged for all production Git LFS servers.
|
HTTPS is strongly encouraged for all production Git LFS servers.
|
||||||
|
|
||||||
If your Git LFS server authenticates with NTLM then you must provide your credentials to `git-credential`
|
If your Git LFS server authenticates with NTLM then you must provide your credentials to `git-credential`
|
||||||
in the form `username:DOMAIN\user password:password`. You must additionally set `ConcurrentTransfers=1` in
|
in the form `username:DOMAIN\user password:password`.
|
||||||
your Git config.
|
|
||||||
|
|
||||||
### Hypermedia
|
### Hypermedia
|
||||||
|
|
||||||
|
@ -117,6 +117,10 @@ func (c *Configuration) Endpoint() Endpoint {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *Configuration) ConcurrentTransfers() int {
|
func (c *Configuration) ConcurrentTransfers() int {
|
||||||
|
if c.NtlmAccess() {
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
uploads := 3
|
uploads := 3
|
||||||
|
|
||||||
if v, ok := c.GitConfig("lfs.concurrenttransfers"); ok {
|
if v, ok := c.GitConfig("lfs.concurrenttransfers"); ok {
|
||||||
|
Loading…
Reference in New Issue
Block a user