Show More
@@ -29,4 +29,4 b' The following variables are available fo' | |||
|
29 | 29 | * CHGDEBUG enables debug messages. |
|
30 | 30 | * CHGSOCKNAME specifies the socket path of the background cmdserver. |
|
31 | 31 | * CHGTIMEOUT specifies how many seconds chg will wait before giving up |
|
32 |
connecting to a cmdserver. If it is 0, chg will wait forever. Default: |
|
|
32 | connecting to a cmdserver. If it is 0, chg will wait forever. Default: 60 |
@@ -250,7 +250,7 b' static hgclient_t *retryconnectcmdserver' | |||
|
250 | 250 | |
|
251 | 251 | debugmsg("try connect to %s repeatedly", opts->sockname); |
|
252 | 252 | |
|
253 |
unsigned int timeoutsec = |
|
|
253 | unsigned int timeoutsec = 60; /* default: 60 seconds */ | |
|
254 | 254 | const char *timeoutenv = getenv("CHGTIMEOUT"); |
|
255 | 255 | if (timeoutenv) |
|
256 | 256 | sscanf(timeoutenv, "%u", &timeoutsec); |
General Comments 0
You need to be logged in to leave comments.
Login now