diff --git a/libretroshare/src/pqi/p3connmgr.cc b/libretroshare/src/pqi/p3connmgr.cc index ad29a0638..123f145bb 100644 --- a/libretroshare/src/pqi/p3connmgr.cc +++ b/libretroshare/src/pqi/p3connmgr.cc @@ -53,8 +53,8 @@ const uint32_t RS_STUN_DONE = 0x0002; const uint32_t RS_STUN_LIST_MIN = 100; const uint32_t RS_STUN_FOUND_MIN = 10; -const uint32_t MAX_UPNP_INIT = 20; /* seconds UPnP timeout */ -const uint32_t MAX_NETWORK_INIT = 75; /* seconds Udp timeout */ +const uint32_t MAX_UPNP_INIT = 60; /* seconds UPnP timeout */ +const uint32_t MAX_NETWORK_INIT = 75; /* timeout before network reset */ const uint32_t MIN_TIME_BETWEEN_NET_RESET = 5; diff --git a/libretroshare/src/tcponudp/extaddrfinder.cc b/libretroshare/src/tcponudp/extaddrfinder.cc index 0804386b3..382a1055d 100644 --- a/libretroshare/src/tcponudp/extaddrfinder.cc +++ b/libretroshare/src/tcponudp/extaddrfinder.cc @@ -15,7 +15,7 @@ #include #include -const uint32_t MAX_IP_STORE = 20; /* seconds ip address timeout */ +const uint32_t MAX_IP_STORE = 300; /* seconds ip address timeout */ static const std::string ADDR_AGENT = "Mozilla/5.0";