diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-10-08 09:16:03 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-10-08 09:16:19 +0200 |
| commit | 6860a55ea0c07eff56882efa7499bed35b173397 (patch) | |
| tree | 8adbe700d952c8d842dcaa6f313ed8cd05364842 /src/netbase.cpp | |
| parent | Merge pull request #5055 (diff) | |
| parent | add -timeout default as constant and use them (diff) | |
| download | discoin-6860a55ea0c07eff56882efa7499bed35b173397.tar.xz discoin-6860a55ea0c07eff56882efa7499bed35b173397.zip | |
Merge pull request #4979
de10efd add -timeout default as constant and use them (Philip Kaufmann)
Diffstat (limited to 'src/netbase.cpp')
| -rw-r--r-- | src/netbase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbase.cpp b/src/netbase.cpp index 5819c152a..b3d100154 100644 --- a/src/netbase.cpp +++ b/src/netbase.cpp @@ -40,7 +40,7 @@ using namespace std; static proxyType proxyInfo[NET_MAX]; static CService nameProxy; static CCriticalSection cs_proxyInfos; -int nConnectTimeout = 5000; +int nConnectTimeout = DEFAULT_CONNECT_TIMEOUT; bool fNameLookup = false; static const unsigned char pchIPv4[12] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xff }; |