delete expired unconfirmed tags

This commit is contained in:
orignal 2014-10-16 21:11:02 -04:00
parent 667c309b68
commit 2cd8d0c0b7
2 changed files with 22 additions and 6 deletions

View file

@ -37,8 +37,9 @@ namespace garlic
};
#pragma pack()
const int TAGS_EXPIRATION_TIMEOUT = 900; // 15 minutes
const int INCOMING_TAGS_EXPIRATION_TIMEOUT = 900; // 15 minutes
const int OUTGOING_TAGS_EXPIRATION_TIMEOUT = 720; // 12 minutes
typedef i2p::data::Tag<32> SessionTag;
class GarlicDestination;
class GarlicRoutingSession