svn 客户端超时并破坏 WC 状态
svn client timing out and corrupting WC state
当我提交大的更改 - 数百兆字节时 - 即使签入确实通过,客户端也会超时。
当我右键单击 WC 并显示日志时,TSVN 显示即使签入实际发生,WC 修订版也没有更新。
我试过使用 TortoiseSVN 1.9.5, Build 27581 - 64 Bit
和命令行 svn version 1.9.5 (r1770682)
。
问题
有没有办法增加客户端的超时时间?
如果您使用 HTTP 连接到服务器(似乎是这种情况),您可以使用 http-timeout
指令增加(或禁用)超时,如 [=12= 中所述]:
http-timeout
This specifies the amount of time, in seconds, to wait for a server response. If you experience problems with a slow network
connection causing Subversion operations to time out, you should
increase the value of this option. In Subversion 1.8 (or older
versions employing the Serf-based HTTP provider), use the value 0 to
disable the timeout altogether.
请确保您不仅仅是在掩盖问题(奇怪的是,提交成功完成但服务器响应未通过)。
当我提交大的更改 - 数百兆字节时 - 即使签入确实通过,客户端也会超时。
当我右键单击 WC 并显示日志时,TSVN 显示即使签入实际发生,WC 修订版也没有更新。
我试过使用 TortoiseSVN 1.9.5, Build 27581 - 64 Bit
和命令行 svn version 1.9.5 (r1770682)
。
问题
有没有办法增加客户端的超时时间?
如果您使用 HTTP 连接到服务器(似乎是这种情况),您可以使用 http-timeout
指令增加(或禁用)超时,如 [=12= 中所述]:
http-timeout
This specifies the amount of time, in seconds, to wait for a server response. If you experience problems with a slow network connection causing Subversion operations to time out, you should increase the value of this option. In Subversion 1.8 (or older versions employing the Serf-based HTTP provider), use the value 0 to disable the timeout altogether.
请确保您不仅仅是在掩盖问题(奇怪的是,提交成功完成但服务器响应未通过)。