diff contrib/chg/README @ 29345:62b890496de5

chg: make timeout adjustable Before this patch, chg will give up when it cannot connect to the new server within 10 seconds. If the host has high load during that time, 10 seconds is not enough. This patch makes it adjustable using the CHGTIMEOUT environment variable.
author Jun Wu <quark@fb.com>
date Mon, 13 Jun 2016 21:30:14 +0100
parents 8062869860b8
children 66d41c9e9222
line wrap: on
line diff
--- a/contrib/chg/README	Sat Jun 11 20:25:49 2016 +0100
+++ b/contrib/chg/README	Mon Jun 13 21:30:14 2016 +0100
@@ -28,3 +28,5 @@
 
  * CHGDEBUG enables debug messages.
  * CHGSOCKNAME specifies the socket path of the background cmdserver.
+ * CHGTIMEOUT specifies how many seconds chg will wait before giving up
+   connecting to a cmdserver. If it is 0, chg will wait forever. Default: 10