wait for 10 seconds before delete a pending tunnel

This commit is contained in:
orignal 2014-08-18 14:37:19 -04:00
parent 9655891e4b
commit fb15c72be2
3 changed files with 22 additions and 34 deletions

View file

@ -22,6 +22,7 @@ namespace i2p
namespace tunnel
{
const int TUNNEL_EXPIRATION_TIMEOUT = 660; // 11 minutes
const int TUNNEL_CREATION_TIMEOUT = 10; // 10 seconds
const int STANDARD_NUM_RECORDS = 5; // in VariableTunnelBuild message
enum TunnelState