P2P: Reduce peer expiration age to 60 sec and allow customization
authorDmitry Shmidt <dimitrysh@google.com>
Fri, 17 Jan 2014 18:58:50 +0000 (10:58 -0800)
committerJouni Malinen <j@w1.fi>
Tue, 21 Jan 2014 14:24:40 +0000 (16:24 +0200)
commitdcdd3838ef9a8b4064ec9f9d4519b3e66e26a029
treed1ddce99db4f5b578e78e624fa831778e699823b
parentdd271857a5b501cd88143efe8ca0f0dce4519a91
P2P: Reduce peer expiration age to 60 sec and allow customization

The new default value (from 300 to 60 seconds) makes the internal P2P
peer list somewhat faster to react to peers becoming unreachable while
still maintaining entries for some time to avoid them disappearing
during user interaction (e.g., selecting a peer for a connection or
entering a PIN).

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
src/p2p/p2p.c